From: Paul K. <pki...@us...> - 2004-08-16 11:46:33
|
How about if nargout == 1 and image is colour, then return m x n x 3 ? If nargout == 3 continue to return r,g,b separately? Hmm.. doesn't work long term since three argout imread might want to return A,map,alpha, though personally, A x [r,g,b,a] as m x n x 4 makes more sense to me - Paul On Aug 16, 2004, at 7:18 AM, Stefan van der Walt wrote: > Would anyone using 'imread' care if the output of reading > colour images changed from > > [r,g,b] = imread(...) > > to > > I = imread(...) > > where I is a 3xNxM matrix? > > Regards > Stefan > > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Octave-dev mailing list > Oct...@li... > https://lists.sourceforge.net/lists/listinfo/octave-dev > |