OpenCV for Unity
2.6.3
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 | setBaseImage (Mat img) |
Set a image used by switch* functions to initialize the class. More... | |
void | switchToSingleStrategy (int k, float sigma) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. More... | |
void | switchToSingleStrategy (int k) |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. More... | |
void | switchToSingleStrategy () |
Initialize the class with the 'Single stragegy' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchFast (int base_k, int inc_k, float sigma) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchFast (int base_k, int inc_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchFast (int base_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchFast () |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchQuality (int base_k, int inc_k, float sigma) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchQuality (int base_k, int inc_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchQuality (int base_k) |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | switchToSelectiveSearchQuality () |
Initialize the class with the 'Selective search fast' parameters describled in [uijlings2013selective]. More... | |
void | addImage (Mat img) |
Add a new image in the list of images to process. More... | |
void | clearImages () |
Clear the list of images to process. More... | |
void | addGraphSegmentation (GraphSegmentation g) |
Add a new graph segmentation in the list of graph segementations to process. More... | |
void | clearGraphSegmentations () |
Clear the list of graph segmentations to process;. More... | |
void | addStrategy (SelectiveSearchSegmentationStrategy s) |
Add a new strategy in the list of strategy to process. More... | |
void | clearStrategies () |
Clear the list of strategy to process;. More... | |
void | process (MatOfRect rects) |
Based on all images, graph segmentations and stragies, computes all possible rects and return them. More... | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
IntPtr | getNativeObjAddr () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
void | save (string filename) |
virtual string | getDefaultName () |
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.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
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 | ( | 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.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 | ) |
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 | ( | ) |
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.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 | ) |
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.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 |
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 | ( | ) |
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 |