imread (repost)

Søren Hauberg soren at hauberg.org
Tue Aug 5 15:53:12 CDT 2008


tir, 05 08 2008 kl. 22:50 +0200, skrev Søren Hauberg:
> tir, 05 08 2008 kl. 10:35 -0400, skrev Thomas L. Scofield:
> > That's not the kind of modification I was suggesting for imshow.  I
> > was suggesting this much simpler change (pseudocode):
> > 
> > 
> >   if (length (size (image)) == 3 && size (image, 3) == 4)
> >     show image(:, :, 1:3)
> >   else
> >     show image
> >   endif
> 
> I can only see the point of this behaviour if 'imread' actually returns
> NxMx3 arrays.

Aaarghh, I of course ment to write MxNx4 here...




More information about the Octave-maintainers mailing list