public class RidgeDetectionFilter extends Algorithm
Modifier | Constructor and Description |
---|---|
protected |
RidgeDetectionFilter(long addr) |
Modifier and Type | Method and Description |
---|---|
static RidgeDetectionFilter |
__fromPtr__(long addr) |
static RidgeDetectionFilter |
create()
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth)
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth,
int dx)
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth,
int dx,
int dy)
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth,
int dx,
int dy,
int ksize)
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth,
int dx,
int dy,
int ksize,
int out_dtype)
Create pointer to the Ridge detection filter.
|
static RidgeDetectionFilter |
create(int ddepth,
int dx,
int dy,
int ksize,
int out_dtype,
double scale)
Create pointer to the Ridge detection filter.
|
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.
|
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.
|
protected void |
finalize() |
void |
getRidgeFilteredImage(Mat _img,
Mat out)
Apply Ridge detection filter on input image.
|
clear, empty, getDefaultName, getNativeObjAddr, save
public static RidgeDetectionFilter __fromPtr__(long addr)
public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta, int borderType)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3out_dtype
- Converted format for output, default is CV_8UC1scale
- Optional scale value for derivative values, default is 1delta
- Optional bias added to output, default is 0borderType
- Pixel extrapolation method, default is BORDER_DEFAULT
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale, double delta)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3out_dtype
- Converted format for output, default is CV_8UC1scale
- Optional scale value for derivative values, default is 1delta
- Optional bias added to output, default is 0
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype, double scale)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3out_dtype
- Converted format for output, default is CV_8UC1scale
- Optional scale value for derivative values, default is 1
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize, int out_dtype)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3out_dtype
- Converted format for output, default is CV_8UC1
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx, int dy, int ksize)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1ksize
- Sobel kernel size , default is 3
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx, int dy)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1dy
- Order of derivative y, default is 1
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth, int dx)
ddepth
- Specifies output image depth. Defualt is CV_32FC1dx
- Order of derivative x, default is 1
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create(int ddepth)
ddepth
- Specifies output image depth. Defualt is CV_32FC1
SEE: Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)public static RidgeDetectionFilter create()
public void getRidgeFilteredImage(Mat _img, Mat out)
_img
- InputArray as supported by Sobel. img can be 1-Channel or 3-Channels.out
- OutputAray of structure as RidgeDetectionFilter::ddepth. Output image with ridges.Generated on Wed Oct 9 2019 23:24:43 UTC / OpenCV 4.1.2