Back to FabImage Library website
You are here: Start » Function Reference » Profile Spatial Transforms » ShrinkProfileNTimes

ShrinkProfileNTimes
Header: | FIL.h |
---|---|
Namespace: | fil |
Reduces the length of the profile by averaging its elements.
Syntax
C++
C#
void fil::ShrinkProfileNTimes ( const fil::Profile& inProfile, const int inN, fil::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inN | const int | 1 - ![]() |
2 | The scaling coefficient |
![]() |
outProfile | Profile& | Output profile |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Input profile size must be greater then 2 in ShrinkProfileNTimes. |