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

CropProfileValues
Header: | FIL.h |
---|---|
Namespace: | fil |
Applies limits to profile values.
Syntax
C++
C#
void fil::CropProfileValues ( const fil::Profile& inProfile, const ftl::Optional<float> inLowValue, const ftl::Optional<float> inHighValue, fil::Profile& outProfile )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | |
![]() |
inLowValue | const Optional<float> | NIL | Value min threshold |
![]() |
inHighValue | const Optional<float> | NIL | Value max threshold |
![]() |
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.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Value of inHighValue is less than inLowValue in CropProfileValues. |