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
Post Reply
Posts: 3
Joined: 2015-12-05T12:15:28-07:00
Authentication code: 1151

Thicken vs Dilate

Post by vgvallee » 2015-12-06T14:14:13-07:00

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: 1561
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789

Re: Thicken vs Dilate

Post by dlemstra » 2015-12-07T15:22:45-07:00

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

Post Reply