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.
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: 386 times
Last updated: Jun 10 '16
Area of a single pixel object in OpenCV
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
OpenCV DescriptorMatcher matches
Can't compile .cu file when including opencv.hpp
Using OpenCV's stitching module, strange error when compositing images
compile error in opencv2/flann/lsh_table.h when compiling bgslibrary