You are here: Start » AVL.NET » Invoke.NormalizeProfile
Rescales a profile linearly, so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void NormalizeProfile ( Avl.Profile inProfile, Optional<Avl.Range> inRange, Optional<float> inNewMinimum, Optional<float> inNewMaximum, float inSaturateHighestFraction, float inSaturateLowestFraction, Avl.Profile outProfile, out float outA, out float outB )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inProfile | Avl.Profile | Input profile. | ||
![]() | inRange | Atl.Optional<Avl.Range> | |||
![]() | inNewMinimum | Atl.Optional<float> | Desired minimum value of the resulting profile (if set to Nil, the minimum of the input profile is used). Default value: atl::NIL. | ||
![]() | inNewMaximum | Atl.Optional<float> | Desired maximum value of the resulting profile (if set to Nil, the maximum of the input profile is used). Default value: atl::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 | Avl.Profile | Normalized profile. | ||
![]() | outA | float | Multiplicative parameter of the applied linear transformation. | ||
![]() | outB | float | Additive parameter of the applied linear transformation. |