Thicken vs Dilate

Magick.NET is an object-oriented C# interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick.NET
Posts: 3
Joined: 2015-12-05T12:15:28-07:00
Authentication code: 1151

Thicken vs Dilate

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


User avatar
Posts: 1625
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: Thicken vs Dilate

Post by dlemstra »

You can find the difference between those two Morphology methods here:
.NET + ImageMagick = Magick.NET, @MagickNET, Donate