Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Features » GradientImageRidges
GradientImageRidges
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationPro |
Finds ridge pixels in a gradient image.
Syntax
C++
C#
void avl::GradientImageRidges ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, avl::GradientMaskOperator::Type inOperator, avl::MagnitudeMeasure::Type inMeasure, avl::NonMaximaMethod::Type inMethod, int inMinValue, avl::Region& outRegion, avl::Image& outMagnitude = atl::Dummy<avl::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. |


