OpenCV 4.13.0
Open Source Computer Vision
読み込み中...
検索中...
見つかりません
🤖 AIによる機械翻訳(非公式) — これは OpenCV 4.13.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
画像セグメンテーション(領域分割)

詳細説明

クラス

class  cv::ximgproc::segmentation::GraphSegmentation
 グラフベースのセグメンテーション Algorithm。このクラスは [90] で説明されているアルゴリズムを実装する。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentation
 Selective search(選択的探索)セグメンテーションアルゴリズム。このクラスは [283] で説明されているアルゴリズムを実装する。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategy
 Selective search セグメンテーションアルゴリズムのための戦略。このクラスは [283] で説明されているアルゴリズムのための汎用的な戦略を実装する。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyColor
 Selective search セグメンテーションアルゴリズムのための色ベースの戦略。このクラスは [283] で説明されているアルゴリズムから実装されている。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyFill
 Selective search セグメンテーションアルゴリズムのための塗りつぶしベースの戦略。このクラスは [283] で説明されているアルゴリズムから実装されている。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyMultiple
 Selective search セグメンテーションアルゴリズムのための複数の戦略をまとめる。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategySize
 Selective search セグメンテーションアルゴリズムのためのサイズベースの戦略。このクラスは [283] で説明されているアルゴリズムから実装されている。 詳細...
 
class  cv::ximgproc::segmentation::SelectiveSearchSegmentationStrategyTexture
 Selective search セグメンテーションアルゴリズムのためのテクスチャベースの戦略。このクラスは [283] で説明されているアルゴリズムから実装されている。 詳細...
 

関数

Ptr< GraphSegmentationcv::ximgproc::segmentation::createGraphSegmentation (double sigma=0.5, float k=300, int min_size=100)
 グラフベースのセグメンタを作成する。
 
Ptr< SelectiveSearchSegmentationcv::ximgproc::segmentation::createSelectiveSearchSegmentation ()
 新しい SelectiveSearchSegmentation クラスを作成する。
 
Ptr< SelectiveSearchSegmentationStrategyColorcv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyColor ()
 新しい色ベースの戦略を作成する。
 
Ptr< SelectiveSearchSegmentationStrategyFillcv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyFill ()
 新しい塗りつぶしベースの戦略を作成する。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple ()
 新しい複数戦略を作成する。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1)
 新しい複数戦略を作成し、1つのサブ戦略を設定する。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2)
 新しい複数戦略を作成し、等しい重みで2つのサブ戦略を設定する。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3)
 新しい複数戦略を作成し、等しい重みで3つのサブ戦略を設定する。
 
Ptr< SelectiveSearchSegmentationStrategyMultiplecv::ximgproc::segmentation::createSelectiveSearchSegmentationStrategyMultiple (Ptr< SelectiveSearchSegmentationStrategy > s1, Ptr< SelectiveSearchSegmentationStrategy > s2, Ptr< SelectiveSearchSegmentationStrategy > s3, Ptr< SelectiveSearchSegmentationStrategy > s4)
 新しい複数戦略を作成し、等しい重みで4つのサブ戦略を設定する。
 
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>

新しい SelectiveSearchSegmentation クラスを作成する。

◆ 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>

新しい複数戦略を作成し、1つのサブ戦略を設定する。

引数
s11番目の戦略

◆ 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>

新しい複数戦略を作成し、等しい重みで2つのサブ戦略を設定する。

引数
s11番目の戦略
s22番目の戦略

◆ 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>

新しい複数戦略を作成し、等しい重みで3つのサブ戦略を設定する。

引数
s11番目の戦略
s22番目の戦略
s33番目の戦略

◆ 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>

新しい複数戦略を作成し、等しい重みで4つのサブ戦略を設定する。

引数
s11番目の戦略
s22番目の戦略
s33番目の戦略
s44番目の戦略

◆ 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>

新しいサイズベースの戦略を作成する。