OpenCV  4.2.0
Open Source Computer Vision
Functions
cv::ximgproc::rl Namespace Reference

Functions

void createRLEImage (std::vector< cv::Point3i > &runs, OutputArray res, Size size=Size(0, 0))
 Creates a run-length encoded image from a vector of runs (column begin, column end, row) More...
 
void dilate (InputArray rlSrc, OutputArray rlDest, InputArray rlKernel, Point anchor=Point(0, 0))
 Dilates an run-length encoded binary image by using a specific structuring element. More...
 
void erode (InputArray rlSrc, OutputArray rlDest, InputArray rlKernel, bool bBoundaryOn=true, Point anchor=Point(0, 0))
 Erodes an run-length encoded binary image by using a specific structuring element. More...
 
cv::Mat getStructuringElement (int shape, Size ksize)
 Returns a run length encoded structuring element of the specified size and shape. More...
 
bool isRLMorphologyPossible (InputArray rlStructuringElement)
 Check whether a custom made structuring element can be used with run length morphological operations. (It must consist of a continuous array of single runs per row) More...
 
void morphologyEx (InputArray rlSrc, OutputArray rlDest, int op, InputArray rlKernel, bool bBoundaryOnForErosion=true, Point anchor=Point(0, 0))
 Applies a morphological operation to a run-length encoded binary image. More...
 
void paint (InputOutputArray image, InputArray rlSrc, const cv::Scalar &value)
 Paint run length encoded binary image into an image. More...
 
void threshold (InputArray src, OutputArray rlDest, double thresh, int type)
 Applies a fixed-level threshold to each array element. More...