Back to Adaptive Vision Library website

You are here: Start » Function Reference » Profile Point Transforms » RescaleProfile

RescaleProfile


Applies linear transformation to profile.

Syntax

C++
C#
 
void avl::RescaleProfile
(
	const avl::Profile& inProfile,
	float inA,
	float inB,
	avl::Profile& outProfile
)

Parameters

Name Type Default Description
inProfile const Profile& Input profile
inA float 1.0f Value multiplied
inB float 0.0f Value added
outProfile Profile& Output profile

In-place Processing

This function supports in-place data processing - you can pass the same reference to inProfile and outProfile