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

AddToProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
Adds a scalar value to each element of a profile.
Syntax
C++
C#
void fil::AddToProfile ( const fil::Profile& inProfile, float inValue, fil::Profile& outProfile )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | |
![]() |
inValue | float | ||
![]() |
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.