Added support for NChannelImage and ExtendToNChannel

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

Hmm I could just do a pull request with the current version of my
modifications to imagen, maybe?



On Wed, Jul 16, 2014 at 2:33 PM, James A. Bednar <notifications@github.com>
wrote:

> In imagen/__init__.py:
>
> > @@ -22,8 +22,12 @@
> >                        commit="$Format:%h$", reponame='imagen')
> >
> >
> > -import numpy as np
> > -from numpy import pi  # Don't pollute the namespace!
> > +import numpy
> > +from numpy.oldnumeric import around, bitwise_and, bitwise_or
> > +from numpy import abs, add, alltrue, array, ceil, clip, cos, fft, flipud, \
> > +        floor, fmod, exp, hstack, Infinity, linspace, multiply, nonzero, pi, \
> > +        repeat, sin, sqrt, subtract, tile, zeros, sum, max
> > +
>
> Looks like this pull request is now out of date, restoring old code that
> we had meant to eliminate. Maybe it would help to just pull in new changes
> to your fork, or maybe you'll need a new fork where you add in just the
> latest changes and abandon this complicated history of changes and
> comments...
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ioam/imagen/pull/29/files#r14996952>.
>