Page 1 of 1

Thicken vs Dilate

Posted: 2015-12-06T14:14:13-07:00
by vgvallee
Is there a difference between the Thicken and the Dilate methods of the Morphology function?

I'm doing this to pad my regions with 10px:

Code: Select all

image.Morphology(ImageMagick.MorphologyMethod.Dilate, ImageMagick.Kernel.Disk, "9.5", 1);
I tried to find the proper kernel to do a similar thing but haven't succeeded yet. I'm thinking that it may be faster.

Would it achieve the same results and would it be faster or am I losing my time?

Thanks.

Re: Thicken vs Dilate

Posted: 2015-12-07T15:22:45-07:00
by dlemstra
You can find the difference between those two Morphology methods here:

http://www.imagemagick.org/Usage/morphology/#dilate
http://www.imagemagick.org/Usage/morphology/#thicken