man, 31 10 2011 kl. 04:03 +0000, skrev Carnë Draug: > 2011/4/14 Carnë Draug <carandraug+...@gmail.com>: > > I noticed that for both the functions imdilate and imerode there's > > also a dilate and erode function. They aim to do the same thing so I > > was wondering if they should be merged. The differences between them, > > at least that I can see, is that dilate and erode are only good for > > binary images (they go as far as binarizing them if a non logical > > matrix is supplied) while imdilate and imerode are also good for > > grayscale images (and use the same method as dilate and erode if > > binary images are supplied). Also, dilate and erode have a > > non-documented option where the operation is done a number of times > > rather than just once. > > > > I think it would be good to merge them. I'd propose to keep the names > > imdilate and imerode for compatibility with the image processing > > toolbox of MatLab and the fact they do both kinds of operations > > (binary and greyscale). > > Hi! > > I was following one of the bugs in imdilate that was fixed with the > 3.4 release when I remembered this. Instead of removing them, I made > them issue a warning about being deprecated and we can remove them > later.
Matlab has both 'erode' and 'imerode' (likewise for 'dilate'). OR have they been deprecated from Matlab? > Also, I removed imginfo since it was marked as deprecated for more than 2 > years. Makes sense. Søren ------------------------------------------------------------------------------ Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World™ now supports Android™ Apps for the BlackBerry® PlayBook™. Discover just how easy and simple it is! http://p.sf.net/sfu/android-dev2dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev