I want to improve the partial volume effects problem of my image by Erosion and Dilation. And for my image the target objects are the foreground.
I have the following problems:
(1) Do I need to invert my image to do erosion and expansion (that is to make the target become the background)?
(2) What does “count” in Process/Binary/Options mean? The explanation in the document is:
Count：Specifies the number of adjacent background pixels necessary before a pixel is removed from the edge of an object during erosion and the number of adjacent foreground pixels necessary before a pixel is added to the edge of an object during dilation.
But I’m confused about the definition. I just found that when the count is 1, the image changes greatly, and when the count is 8, the image changes very little.
Any leads will be appreciated!