Added support for NChannelImage and ExtendToNChannel


Sorry for all the previous open/close pull requests. This is the only merge to look at.

It's not committed: it relies on the colorconversion code (now) present in
featuremapper, and will probably go to Topographica.

I'm (hopefully) preparing the Topographica pull request now.
I'm still not sure where to put it, though, as no existing file seems to
fit. Any suggestions?

G



On Thu, Jul 10, 2014 at 3:02 PM, J.L Stevens <notifications@github.com>
wrote:

> In imagen/image.py:
>
> >      """
> >
> > -    filename = param.Filename(default='images/numpy_array_feret_photo.npy',precedence=0.9,doc="""
> > -        File path (can be relative to Param's base path) to the Numpy file.""")
> > +    random_generator = param.Callable(
> > +        default=numbergen.UniformRandom(lbound=0,ubound=1,seed=1048921))
> >
>
> I can't find RGBImage. It isn't currently in imagen or your commit to
> featuremapper. The only thing that I cna find that seems related is
> jitter_hue
> <https://github.com/ioam/featuremapper/blob/master/featuremapper/colorspaces.py#L503-507>
> .
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ioam/imagen/pull/29/files#r14767096>.
>