Am 07.04.2012 13:55, schrieb Martin Helm: > Am 06.04.2012 22:47, schrieb Alexander Görtz: >> Hi, >> >> I'm new at this list, so first hello to everyone and keep up the good >> work. >> >> But now to my 'problem'. I'm using the im2double function for some >> grayscale >> images which worked fine until I came across a 1bit black and white >> image. I >> got the error that the input of im2double must be an image, which >> doesn't make >> that much sens as the input actually is an image. So I would suggest >> to change >> the error message that the input hast to be a 8, 16 uint or a double >> image. >> Or even better make im2double work with class(img) = logical what >> should be >> fairly easy as the only thing you need to return is double(img) as >> the image >> already is in the range [0, 1]. >> >> Cheers, >> >> Alexander >> > Can you try the attached one? If it works as expected I will send a > patch for the svn sources. > > I se that im2bw, im2uint16, im2uint8 probably also need some adjustment, I'll look through them and send the trivial patches after the easter weekend to the list or is it better just to open a bug and attach it to that?
------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev