OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
Selective search segmentation algorithm The class implements the algorithm described in [uijlings2013selective]. More...
Public Member Functions | |
void | addGraphSegmentation (GraphSegmentation g) |
Add a new graph segmentation in the list of graph segementations to process. | |
void | addImage (Mat img) |
Add a new image in the list of images to process. | |
void | addStrategy (SelectiveSearchSegmentationStrategy s) |
Add a new strategy in the list of strategy to process. | |
void | clearGraphSegmentations () |
Clear the list of graph segmentations to process;. | |
void | clearImages () |
Clear the list of images to process. | |
void | clearStrategies () |
Clear the list of strategy to process;. | |
void | process (MatOfRect rects) |
Based on all images, graph segmentations and stragies, computes all possible rects and return them. | |
void | setBaseImage (Mat img) |
Set a image used by switch* functions to initialize the class. | |
void | switchToSelectiveSearchFast () |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchFast (int base_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchFast (int base_k, int inc_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchFast (int base_k, int inc_k, float sigma) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchQuality () |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchQuality (int base_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchQuality (int base_k, int inc_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSelectiveSearchQuality (int base_k, int inc_k, float sigma) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. | |
void | switchToSingleStrategy () |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. | |
void | switchToSingleStrategy (int k) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. | |
void | switchToSingleStrategy (int k, float sigma) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual string | getDefaultName () |
IntPtr | getNativeObjAddr () |
void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new SelectiveSearchSegmentation | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
Selective search segmentation algorithm The class implements the algorithm described in [uijlings2013selective].
|
static |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.addGraphSegmentation | ( | GraphSegmentation | g | ) |
Add a new graph segmentation in the list of graph segementations to process.
g | The graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.addImage | ( | Mat | img | ) |
Add a new image in the list of images to process.
img | The image |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.addStrategy | ( | SelectiveSearchSegmentationStrategy | s | ) |
Add a new strategy in the list of strategy to process.
s | The strategy |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.clearGraphSegmentations | ( | ) |
Clear the list of graph segmentations to process;.
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.clearImages | ( | ) |
Clear the list of images to process.
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.clearStrategies | ( | ) |
Clear the list of strategy to process;.
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.process | ( | MatOfRect | rects | ) |
Based on all images, graph segmentations and stragies, computes all possible rects and return them.
rects | The list of rects. The first ones are more relevents than the lasts ones. |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.setBaseImage | ( | Mat | img | ) |
Set a image used by switch* functions to initialize the class.
img | The image |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchFast | ( | ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchFast | ( | int | base_k | ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchFast | ( | int | base_k, |
int | inc_k ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchFast | ( | int | base_k, |
int | inc_k, | ||
float | sigma ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchQuality | ( | ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchQuality | ( | int | base_k | ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchQuality | ( | int | base_k, |
int | inc_k ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSelectiveSearchQuality | ( | int | base_k, |
int | inc_k, | ||
float | sigma ) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective].
base_k | The k parameter for the first graph segmentation |
inc_k | The increment of the k parameter for all graph segmentations |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSingleStrategy | ( | ) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective].
k | The k parameter for the graph segmentation |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSingleStrategy | ( | int | k | ) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective].
k | The k parameter for the graph segmentation |
sigma | The sigma parameter for the graph segmentation |
void OpenCVForUnity.XimgprocModule.SelectiveSearchSegmentation.switchToSingleStrategy | ( | int | k, |
float | sigma ) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective].
k | The k parameter for the graph segmentation |
sigma | The sigma parameter for the graph segmentation |