Searched refs:erosion_type (Results 1 – 2 of 2) sorted by relevance
76 int erosion_type = 0; in Erosion() local77 if( erosion_elem == 0 ){ erosion_type = MORPH_RECT; } in Erosion()78 else if( erosion_elem == 1 ){ erosion_type = MORPH_CROSS; } in Erosion()79 else if( erosion_elem == 2) { erosion_type = MORPH_ELLIPSE; } in Erosion()81 Mat element = getStructuringElement( erosion_type, in Erosion()
88 int erosion_type;89 if( erosion_elem == 0 ){ erosion_type = MORPH_RECT; }90 else if( erosion_elem == 1 ){ erosion_type = MORPH_CROSS; }91 else if( erosion_elem == 2) { erosion_type = MORPH_ELLIPSE; }93 Mat element = getStructuringElement( erosion_type,109 Mat element = getStructuringElement( erosion_type,