Home
last modified time | relevance | path

Searched refs:element_shape (Results 1 – 3 of 3) sorted by relevance

/external/opencv3/samples/cpp/
Dmorphology2.cpp25 int element_shape = MORPH_RECT; variable
37 Mat element = getStructuringElement(element_shape, Size(an*2+1, an*2+1), Point(an, an) ); in OpenClose()
50 Mat element = getStructuringElement(element_shape, Size(an*2+1, an*2+1), Point(an, an) ); in ErodeDilate()
86 element_shape = MORPH_ELLIPSE; in main()
88 element_shape = MORPH_RECT; in main()
90 element_shape = MORPH_CROSS; in main()
92 element_shape = (element_shape + 1) % 3; in main()
/external/opencv3/samples/gpu/
Dmorphology.cpp29 int element_shape; member in App
38 element_shape = MORPH_RECT; in App()
93 element_shape = MORPH_ELLIPSE; in run()
97 element_shape = MORPH_RECT; in run()
101 element_shape = MORPH_CROSS; in run()
105 element_shape = (element_shape + 1) % 3; in run()
131 Mat element = getStructuringElement(element_shape, Size(an*2+1, an*2+1), Point(an, an)); in OpenClose()
153 Mat element = getStructuringElement(element_shape, Size(an*2+1, an*2+1), Point(an, an)); in ErodeDilate()
/external/opencv/cv/src/
Dcvmorph.cpp377 void CvMorphology::init_binary_element( CvMat* element, int element_shape, CvPoint anchor ) in init_binary_element() argument
405 if( element_shape != RECT && element_shape != CROSS && element_shape != ELLIPSE ) in init_binary_element()
412 element_shape = RECT; in init_binary_element()
414 if( element_shape == ELLIPSE ) in init_binary_element()
426 if( element_shape == RECT || (element_shape == CROSS && i == anchor.y) ) in init_binary_element()
428 else if( element_shape == CROSS ) in init_binary_element()