5#ifndef OPENCV_IMGPROC_SEGMENTATION_HPP 
    6#define OPENCV_IMGPROC_SEGMENTATION_HPP 
    8#include "opencv2/imgproc.hpp" 
   12namespace segmentation {
 
   84            double threshold1, 
double threshold2,
 
   85            int apertureSize = 3, 
bool L2gradient = 
false 
  106            InputArray non_edge, InputArray gradient_direction, InputArray gradient_magnitude,
 
  107            InputArray image = noArray()
 
  116    CV_WRAP 
void buildMap(
const Point& sourcePt);
 
  126    CV_WRAP 
void getContour(
const Point& targetPt, 
OutputArray contour, 
bool backward = 
false) 
const;
 
  130    inline Impl* getImpl()
 const { 
return impl.get(); }
 
  132    std::shared_ptr<Impl> impl;
 
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
 
Intelligent Scissors image segmentation
Definition: imgproc/segmentation.hpp:31
 
CV_WRAP IntelligentScissorsMB & setGradientMagnitudeMaxLimit(float gradient_magnitude_threshold_max=0.0f)
Specify gradient magnitude max value threshold
 
CV_WRAP IntelligentScissorsMB & applyImageFeatures(InputArray non_edge, InputArray gradient_direction, InputArray gradient_magnitude, InputArray image=noArray())
Specify custom features of imput image
 
CV_WRAP IntelligentScissorsMB & setEdgeFeatureZeroCrossingParameters(float gradient_magnitude_min_value=0.0f)
Switch to "Laplacian Zero-Crossing" edge feature extractor and specify its parameters
 
CV_WRAP IntelligentScissorsMB & setWeights(float weight_non_edge, float weight_gradient_direction, float weight_gradient_magnitude)
Specify weights of feature functions
 
CV_WRAP IntelligentScissorsMB & applyImage(InputArray image)
Specify input image and extract image features
 
CV_WRAP IntelligentScissorsMB & setEdgeFeatureCannyParameters(double threshold1, double threshold2, int apertureSize=3, bool L2gradient=false)
Switch edge feature extractor to use Canny edge detector
 
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75