OpenCV  4.3.0-dev
Open Source Computer Vision
Namespaces | Functions
run_length_morphology.hpp File Reference
#include <opencv2/core.hpp>

Namespaces

 cv
 "black box" representation of the file storage associated with a file on disk.
 
 cv::ximgproc
 
 cv::ximgproc::rl
 

Functions

void cv::ximgproc::rl::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 cv::ximgproc::rl::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 cv::ximgproc::rl::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 cv::ximgproc::rl::getStructuringElement (int shape, Size ksize)
 Returns a run length encoded structuring element of the specified size and shape. More...
 
bool cv::ximgproc::rl::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 cv::ximgproc::rl::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 cv::ximgproc::rl::paint (InputOutputArray image, InputArray rlSrc, const cv::Scalar &value)
 Paint run length encoded binary image into an image. More...
 
void cv::ximgproc::rl::threshold (InputArray src, OutputArray rlDest, double thresh, int type)
 Applies a fixed-level threshold to each array element. More...