Back to FabImage Library website
You are here: Start » Function Reference » Profile Point Transforms » RescaleProfile

RescaleProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
Applies linear transformation to profile.
Syntax
C++
C#
void fil::RescaleProfile ( const fil::Profile& inProfile, float inA, float inB, fil::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
Read more about In-place Computation.