Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Morphological Filtering On OpenCV

Hi guys, i basically want to implement steps in pre-processing stage in one of my journal. The fist step is to do morpological filtering : opening and closing operators. I have read in opencv docs, that we can do morphological filtering by using custome structuring element with function getStructuringElement(int shape, Size ksize, Point anchor=Point(-1,-1)).

Because in my journal, it is said "... 3 by 3 disk structuring element", does it mean it (3 by 3) corresponds to ksize parameter in getStructuringElement function ? or does it mean anything else ?

Thank you.

Morphological Filtering On OpenCV

Hi guys, i basically want to implement steps in pre-processing stage in one of my journal. The fist step is to do morpological filtering : opening and closing operators. I have read in opencv docs, that we can do morphological filtering by using custome structuring element with function getStructuringElement(int shape, Size ksize, Point anchor=Point(-1,-1)). ask about this statement :

Because in my journal, it is said "...

3 by x 3 disk structuring element", does morphological filtering

Does it mean it (3 by 3) corresponds to ksize parameter in getStructuringElement function the radius is 9 ? or does it mean anything else the size = 2 * 3 - 1 ?

Thank you.