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
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 Double Ridge computation method
inMinValue int 4 Minimum gradient magnitude of a ridge
outRegion Region& Output region

Errors

List of possible exceptions:

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