Back to Adaptive 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
)

Parameters

Name Type Default Description
Input value
inImage const Image& Input image
Input value
inRoi Optional<const Region&> NIL Range of pixels to be processed
Input value
inOperator GradientMaskOperator::Type Sobel Gradient operator
Input value
inMeasure MagnitudeMeasure::Type Hypot Gradient magnitude measure
Input value
inMethod NonMaximaMethod::Type Double Ridge computation method
Input value
inMinValue int 4 Minimum gradient magnitude of a ridge
Output value
outRegion Region& Output region

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in GradientImageRidges.