Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Spatial Transforms » ShrinkProfileNTimes

ShrinkProfileNTimes


Header: AVL.h
Namespace: avl
Module: FoundationPro

Reduces the length of a profile N-times by averaging each N consecutive elements.

Syntax

C++
C#
 
void avl::ShrinkProfileNTimes
(
	const avl::Profile& inProfile,
	const int inN,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
Input value inProfile const Profile& Input profile
Input value inN const int 1 - 2 The scaling coefficient
Output value outProfile Profile& Output profile