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.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
OpenCVForUnity.XimgprocModule.RidgeDetectionFilter Class Reference

Applies Ridge Detection Filter to an input image. Implements Ridge detection similar to the one in Mathematica using the eigen values from the Hessian Matrix of the input image using Sobel Derivatives. Additional refinement can be done using Skeletonization and Binarization. Adapted from [segleafvein] and [M_RF]. More...

Inheritance diagram for OpenCVForUnity.XimgprocModule.RidgeDetectionFilter:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

void getRidgeFilteredImage (Mat _img, Mat _out)
 Apply Ridge detection filter on input image. 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 RidgeDetectionFilter __fromPtr__ (IntPtr addr)
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta, int borderType)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy, int ksize, int out_dtype, double scale)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy, int ksize, int out_dtype)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy, int ksize)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx, int dy)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth, int dx)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create (int ddepth)
 Create pointer to the Ridge detection filter. More...
 
static RidgeDetectionFilter create ()
 Create pointer to the Ridge detection filter. More...
 
- 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]
 

Detailed Description

Applies Ridge Detection Filter to an input image. Implements Ridge detection similar to the one in Mathematica using the eigen values from the Hessian Matrix of the input image using Sobel Derivatives. Additional refinement can be done using Skeletonization and Binarization. Adapted from [segleafvein] and [M_RF].

Member Function Documentation

◆ __fromPtr__()

static new RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.__fromPtr__ ( IntPtr  addr)
static

◆ create() [1/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy,
int  ksize,
int  out_dtype,
double  scale,
double  delta,
int  borderType 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [2/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy,
int  ksize,
int  out_dtype,
double  scale,
double  delta 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [3/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy,
int  ksize,
int  out_dtype,
double  scale 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [4/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy,
int  ksize,
int  out_dtype 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [5/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy,
int  ksize 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [6/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx,
int  dy 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [7/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth,
int  dx 
)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [8/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( int  ddepth)
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ create() [9/9]

static RidgeDetectionFilter OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.create ( )
static

Create pointer to the Ridge detection filter.

Parameters
ddepthSpecifies output image depth. Defualt is CV_32FC1
dxOrder of derivative x, default is 1
dyOrder of derivative y, default is 1
ksizeSobel kernel size , default is 3
out_dtypeConverted format for output, default is CV_8UC1
scaleOptional scale value for derivative values, default is 1
deltaOptional bias added to output, default is 0
borderTypePixel extrapolation method, default is BORDER_DEFAULT
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)

◆ Dispose()

override void OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.Dispose ( bool  disposing)
protectedvirtual

◆ getRidgeFilteredImage()

void OpenCVForUnity.XimgprocModule.RidgeDetectionFilter.getRidgeFilteredImage ( Mat  _img,
Mat  _out 
)

Apply Ridge detection filter on input image.

Parameters
_imgInputArray as supported by Sobel. img can be 1-Channel or 3-Channels.
outOutputAray of structure as RidgeDetectionFilter::ddepth. Output image with ridges.

The documentation for this class was generated from the following file: