Hi

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

Carnë Draug

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to