Class cv::ximgproc::RidgeDetectionFilter#
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 [208].
#include <opencv2/ximgproc/ridgefilter.hpp>Collaboration diagram for cv::ximgproc::RidgeDetectionFilter:
Public Member Functions#
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
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 [208].
Member Function Documentation#
create()#
static Ptr< RidgeDetectionFilter > cv::ximgproc::RidgeDetectionFilter::create(
int ddepth = CV_32FC1,
int dx = 1,
int dy = 1,
int ksize = 3,
int out_dtype = CV_8UC1,
double scale = 1,
double delta = 0,
int borderType = BORDER_DEFAULT )
Create pointer to the Ridge detection filter.
See also
Sobel, threshold, getStructuringElement, morphologyEx.( for additional refinement)
Parameters
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
getRidgeFilteredImage()#
void cv::ximgproc::RidgeDetectionFilter::getRidgeFilteredImage(
InputArray _img,
OutputArray out )
Apply Ridge detection filter on input image.
Parameters
_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.
Source file#
The documentation for this class was generated from the following file:
opencv2/ximgproc/ridgefilter.hpp