Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Point Transforms » CropProfileValues
CropProfileValues
Header: | AVL.h |
---|---|
Namespace: | avl |
Applies limits to profile values.
Syntax
C++
C#
void avl::CropProfileValues ( const avl::Profile& inProfile, const atl::Optional<float> inLowValue, const atl::Optional<float> inHighValue, avl::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. |