OpenCV  4.10.0
开源计算机视觉
加载中...
搜索中...
没有找到
类别 | 功能
图像分割

详述

类别

类  cv::ximgproc::segmentation::GraphSegmentation
 基于图表的分割算法。该类别实现在[86] 中描述的算法。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentation
 选择性搜索分割算法该类别实现在[276] 中描述的算法。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategy
 选择性搜索分割算法的策略该类别将[276] 中描述的算法实现为通用策略。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyColor
 选择性搜索分割算法的基于颜色的策略该类别根据[276] 中描述的算法进行实现。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyFill
 选择性搜索分割算法的基于填充的策略该类别根据[276] 中描述的算法进行实现。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple
 重组选择性搜索分割算法的多个策略。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategySize
 选择性搜索分割算法的基于大小的策略该类别根据[276] 中描述的算法进行实现。 更多详情...
 
类  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyTexture
 选择性搜索分割算法的基于纹理的策略该类别根据[276] 中描述的算法进行实现。 更多详情...
 

功能

Ptr< GraphSegmentationcv::ximgproc::segmentation::createGraphSegmentation (double sigma=0.5, float k=300, int min_size=100)
 创建一个基于图表的分割器。
 
Ptr< SelectiveSearchSegmentationcv::ximgproc::segmentation::createSelectiveSearchSegmentation ()
 创建一个新的  
Ptr< SelectiveSearchSegmentationStrategyColorcv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor ()
 创建一个新的基于颜色的策略。
 
Ptr< SelectiveSearchSegmentationStrategyFillcv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill ()
 创建一个新的基于填充的策略。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ()
 创建一个新的多策略。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1)
 创建一个新的多策略并设置一个子策略。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2)
 创建一个新的多策略并设置两个子策略,权重相等。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3)
 创建一个新的多策略并设置三个子策略,权重相等。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3, Ptr< SelectiveSearchSegmentationStrategy > s4)
 创建新的多个策略并设置四个子策略,权重相等。
 
Ptr< SelectiveSearchSegmentationStrategySizecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize ()
 创建新的基于大小的策略。
 
Ptr< SelectiveSearchSegmentationStrategyTexturecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyTexture ()
 创建新的基于大小的策略。
 

函数文档

◆ createGraphSegmentation()

Ptr< GraphSegmentation > cv::ximgproc::segmentation::createGraphSegmentation ( double  sigma = 0.5,
float  k = 300,
int  min_size = 100 
)
Python
cv.ximgproc.segmentation.createGraphSegmentation([, sigma[, k[, min_size]]]) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个基于图表的分割器。

参数
sigma用于平滑图像的 sigma 参数
k算法的 k 参数
min_size分段的最小尺寸

◆ createSelectiveSearchSegmentation()

Ptr< SelectiveSearchSegmentation > cv::ximgproc::segmentation::createSelectiveSearchSegmentation ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentation() -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的

◆ createSelectiveSearchSegmentationStrategyColor()

Ptr< SelectiveSearchSegmentationStrategyColor > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyColor() -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的基于颜色的策略。

◆ createSelectiveSearchSegmentationStrategyFill()

Ptr< SelectiveSearchSegmentationStrategyFill > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyFill() -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的基于填充的策略。

◆ createSelectiveSearchSegmentationStrategyMultiple() [1/5]

Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple() -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的多策略。

◆ createSelectiveSearchSegmentationStrategyMultiple() [2/5]

Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy s1)
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple() -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的多策略并设置一个子策略。

参数
s1第一个策略

◆ createSelectiveSearchSegmentationStrategyMultiple() [3/5]

Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy s1,
Ptr< SelectiveSearchSegmentationStrategy s2 
)
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple() -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的多策略并设置两个子策略,权重相等。

参数
s1第一个策略
s2第二个策略

◆ createSelectiveSearchSegmentationStrategyMultiple() [4/5]

Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy s1,
Ptr< SelectiveSearchSegmentationStrategy s2,
Ptr< SelectiveSearchSegmentationStrategy s3 
)
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple() -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建一个新的多策略并设置三个子策略,权重相等。

参数
s1第一个策略
s2第二个策略
s3第三个策略

◆ createSelectiveSearchSegmentationStrategyMultiple() [5/5]

Ptr< SelectiveSearchSegmentationStrategyMultiple > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ( Ptr< SelectiveSearchSegmentationStrategy s1,
Ptr< SelectiveSearchSegmentationStrategy s2,
Ptr< SelectiveSearchSegmentationStrategy s3,
Ptr< SelectiveSearchSegmentationStrategy s4 
)
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple() -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3) -> retval
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyMultiple(s1, s2, s3, s4) -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建新的多个策略并设置四个子策略,权重相等。

参数
s1第一个策略
s2第二个策略
s3第三个策略
s4第四个策略

◆ createSelectiveSearchSegmentationStrategySize()

Ptr< SelectiveSearchSegmentationStrategySize > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategySize ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategySize() -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建新的基于大小的策略。

◆ createSelectiveSearchSegmentationStrategyTexture()

Ptr< SelectiveSearchSegmentationStrategyTexture > cv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyTexture ( )
Python
cv.ximgproc.segmentation.createSelectiveSearchSegmentationStrategyTexture() -> retval

#include <opencv2/ximgproc/segmentation.hpp>

创建新的基于大小的策略。