[−][src]Function opencv::ximgproc::morphology_ex
pub fn morphology_ex(
rl_src: &dyn ToInputArray,
rl_dest: &mut dyn ToOutputArray,
op: i32,
rl_kernel: &dyn ToInputArray,
b_boundary_on_for_erosion: bool,
anchor: Point
) -> Result<()>
Applies a morphological operation to a run-length encoded binary image.
Parameters
- rlSrc: input image
- rlDest: result
- op: all operations supported by cv::morphologyEx (except cv::MORPH_HITMISS)
- rlKernel: kernel
- bBoundaryOnForErosion: indicates whether pixel outside the image boundary are assumed to be on for erosion operations (True: works in the same way as the default of cv::erode, False: is a little faster)
- anchor: position of the anchor within the element; default value (0, 0) is usually the element center.
C++ default parameters
- b_boundary_on_for_erosion: true
- anchor: Point(0,0)