Back to FabImage Library website
You are here: Start » Function Reference » Profile » Profile Combinators » DifferenceProfile

DifferenceProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Computes profile representing difference between corresponding values of given profiles.
Syntax
C++
C#
void fil::DifferenceProfile ( const fil::Profile& inProfile1, const fil::Profile& inProfile2, fil::Profile& outProfile )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile1 | const Profile& | First input profile | |
![]() |
inProfile2 | const Profile& | Second input profile | |
![]() |
outProfile | Profile& | Output profile |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inProfile1 and outProfile, inProfile2 and outProfile
Read more about In-place Computation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input profiles have different lengths in DifferenceProfile. |
DomainError | Input profiles have different X coordinates in DifferenceProfile. |