What is MORPH_RECT parameters?
What does it mean 21 and 10 parameters?
in
cv2.getStructuringElement(cv2.MORPH_RECT, (21, 21), (10, 10))
I can understand from docs.
As it written in Doc first parameter is size (width and height) and second element is center position relative to shape. If you want something symetric for a size(3,3) center is position (1,1) for size(5,7) center at position (2,3)...
Asked: 2016-06-10 04:58:18 -0600
Seen: 382 times
Last updated: Jun 10 '16