You are here: Start » FIL.NET » Invoke.NormalizeProfile
Rescales a profile linearly, so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void NormalizeProfile ( Fil.Profile inProfile, Optional<Fil.Range> inRange, Optional<float> inNewMinimum, Optional<float> inNewMaximum, float inSaturateHighestFraction, float inSaturateLowestFraction, Fil.Profile outProfile, out float outA, out float outB )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile | Fil.Profile | Input profile. | ||
![]() | inRange | Ftl.Optional<Fil.Range> | |||
![]() | inNewMinimum | Ftl.Optional<float> | Desired minimum value of the resulting profile (if set to Nil, the minimum of the input profile is used). Default value: ftl::NIL. | ||
![]() | inNewMaximum | Ftl.Optional<float> | Desired maximum value of the resulting profile (if set to Nil, the maximum of the input profile is used). Default value: ftl::NIL. | ||
![]() | inSaturateHighestFraction | float | <0.0f, 1.0f> | 0.0f | Fraction of the highest values skipped during normalization. Default value: 0.0f. |
![]() | inSaturateLowestFraction | float | <0.0f, 1.0f> | 0.0f | Fraction of the lowest values skipped during normalization. Default value: 0.0f. |
![]() | outProfile | Fil.Profile | Normalized profile. | ||
![]() | outA | float | Multiplicative parameter of the applied linear transformation. | ||
![]() | outB | float | Additive parameter of the applied linear transformation. |