Re: incorrect display for Export[Image[]]
- To: mathgroup at smc.vnet.net
- Subject: [mg105000] Re: incorrect display for Export[Image[]]
- From: divisor <congruentialuminaire at yahoo.com>
- Date: Tue, 17 Nov 2009 05:15:07 -0500 (EST)
- References: <hdomv1$98l$1@smc.vnet.net> <hdqb37$6nb$1@smc.vnet.net>
Thanks Nasser...
what you wrote makes sense but blue definitely shows up in the image,
even though R=data, G=data, B=no data.
Also I guess I would think that an Export[]ed file would show the same
as what I see on the screen in Mathematica. Finally, I would have thought that
I could just Graphics@Image@....
Ohh well, I will just keep digging....
Regards..RogerW
On Nov 15, 5:49 pm, "Nasser M. Abbasi" <n... at 12000.org> wrote:
> <snipped/>
>
> But the image is not an RGB image? becuase there is only 2 channels in the
> image as can be seen by looking at the dimensions of the data
>
> im = Image[Table[With[{z = x + I*y},
> With[{w = (1 + z + z^2 + z^3)/(1 + z + z^2)},
> {Re[w], Im[w]}]], {x, -1, 1, 0.01},
> {y, -1, 1, 0.01}]]
> d = ImageData[im];
> Dimensions[d]
>
> {201, 201, 2}
>
> --Nasser- Hide quoted text -
>
> - Show quoted text -