Graph Based Segmentation Algorithm. The class implements the algorithm described in [48] .
More...
#include "segmentation.hpp"
Graph Based Segmentation Algorithm. The class implements the algorithm described in [48] .
virtual float cv::ximgproc::segmentation::GraphSegmentation::getK |
( |
| ) |
|
|
pure virtual |
virtual int cv::ximgproc::segmentation::GraphSegmentation::getMinSize |
( |
| ) |
|
|
pure virtual |
virtual double cv::ximgproc::segmentation::GraphSegmentation::getSigma |
( |
| ) |
|
|
pure virtual |
virtual void cv::ximgproc::segmentation::GraphSegmentation::processImage |
( |
InputArray |
src, |
|
|
OutputArray |
dst |
|
) |
| |
|
pure virtual |
Segment an image and store output in dst.
- Parameters
-
src | The input image. Any number of channel (1 (Eg: Gray), 3 (Eg: RGB), 4 (Eg: RGB-D)) can be provided |
dst | The output segmentation. It's a CV_32SC1 Mat with the same number of cols and rows as input image, with an unique, sequential, id for each pixel. |
virtual void cv::ximgproc::segmentation::GraphSegmentation::setK |
( |
float |
k | ) |
|
|
pure virtual |
virtual void cv::ximgproc::segmentation::GraphSegmentation::setMinSize |
( |
int |
min_size | ) |
|
|
pure virtual |
virtual void cv::ximgproc::segmentation::GraphSegmentation::setSigma |
( |
double |
sigma | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file:
- C:/Programming/OpenCV/opencv_contrib_fork/modules/ximgproc/include/opencv2/ximgproc/segmentation.hpp