OpenCV  5.0.0alpha
Open Source Computer Vision
Loading...
Searching...
No Matches
run_length_morphology.hpp File Reference
#include <opencv2/core.hpp>
Include dependency graph for run_length_morphology.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  cv
 
namespace  cv::ximgproc
 
namespace  cv::ximgproc::rl
 

Functions

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