Hi,

Thanks for your quick responses, it's really good to see that the octave has 
such a good support.

Maybe if you are on to some simple changes I have some more bugs for you :P
I'm not sure if I should start a new topic for new bugs if I should just say 
so and I will resend this message under a new topic.

the mat2gray function doesn't handle zero matrices like 
mat2gray(zeroes(10,10)) results in a division by zero. It's not that much of a 
deal but I was wondering about some strange NaN errors after doing the above.

Alexander

Am Mittwoch, 11. April 2012, 23:52:41 schrieb Martin Helm:
> Am 11.04.2012 21:12, schrieb Carnë Draug:
> > On 11 April 2012 16:24, Carnë Draug <carandraug+...@gmail.com> wrote:
> >> On 7 April 2012 12:55, Martin Helm <mar...@mhelm.de> wrote:
> >>> 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 have made some further changes to im2double to add support for
> >> indexed images. Also increased matlab compatibility and now accepts
> >> input of double precision (returns the same) instead of an error.
> > 
> > I have expanded the changes to the others im2"class" functions and
> > added 2 simple implementations of new ones (im2single and im2int16).
> > 
> > Carnë
> 
> Thanks for taking this over and sorry for the late reply I am not
> available the whole week due to a business trip.

------------------------------------------------------------------------------
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

Reply via email to