Back to Adaptive Vision Library website

You are here: Start » Function Reference » Profile Basics » SetProfileXTransform

SetProfileXTransform


Sets the offset and the scale of a profile in the X axis.

Header:AVL.h

Syntax

C++
C#
 
void avl::SetProfileXTransform
(
	const avl::Profile& inProfile,
	float inXOffset,
	float inXScale,
	avl::Profile& outProfile
)

Parameters

Name Type Range Default Description
inProfile const Profile& Input profile
inXOffset float 0.0f
inXScale float 0.001 - 1.0f
outProfile Profile& Output profile

In-place Processing

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