Back to Adaptive Vision Library website

You are here: Start » Function Reference » Profile Local Transforms » ErodeProfile

ErodeProfile


Changes a profile by choosing minimum point within a kernel.

Header:AVL.h

Syntax

C++
C#
 
void avl::ErodeProfile
(
	const avl::Profile& inProfile,
	const int inKernelRadius,
	const bool inCyclic,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
inProfile const Profile& Profile to be processed
inKernelRadius const int 0 - 3 Defines the width of the kernel as '2 * inKernelRadius + 1'
inCyclic const bool Defines whether the first element should be considered adjacent to the last element
outProfile Profile& Output profile