Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Features » GradientImageRidges
GradientImageRidges
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Finds ridge pixels in a gradient image.
Syntax
C++
C#
void fil::GradientImageRidges ( const fil::Image& inImage, ftl::Optional<const fil::Region&> inRoi, fil::GradientMaskOperator::Type inOperator, fil::MagnitudeMeasure::Type inMeasure, fil::NonMaximaMethod::Type inMethod, int inMinValue, fil::Region& outRegion, fil::Image& outMagnitude = ftl::Dummy<fil::Image>() )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inImage | const Image& | Input image | ||
inRoi | Optional<const Region&> | NIL | Range of pixels to be processed | |
inOperator | GradientMaskOperator::Type | Sobel | Gradient operator | |
inMeasure | MagnitudeMeasure::Type | Hypot | Gradient magnitude measure | |
inMethod | NonMaximaMethod::Type | InterpolatedPlus | Ridge computation method | |
inMinValue | int | 4 | Minimum gradient magnitude of a ridge | |
outRegion | Region& | Output region | ||
outMagnitude | Image& | Dummy<Image>() |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in GradientImageRidges. |