Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Profile » Profile Point Transforms » NormalizeProfile

NormalizeProfile


Module: FoundationPro

Rescales a profile linearly, so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum.

Name Type Range Description
inProfile Profile Input profile
inRange Range*
inNewMinimum Real* Desired minimum value of the resulting profile (if set to Nil, the minimum of the input profile is used)
inNewMaximum Real* Desired maximum value of the resulting profile (if set to Nil, the maximum of the input profile is used)
inSaturateHighestFraction Real 0.0 - 1.0 Fraction of the highest values skipped during normalization
inSaturateLowestFraction Real 0.0 - 1.0 Fraction of the lowest values skipped during normalization
outProfile Profile Normalized profile
outA Real Multiplicative parameter of the applied linear transformation
outB Real Additive parameter of the applied linear transformation

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Range exceeds inProfile in NormalizeProfile.
DomainError The sum of inSaturateHighestFraction and inSaturateLowestFraction can't be greater than 1 in NormalizeProfile.

Complexity Level

This filter is available on Basic Complexity Level.