Back to FabImage Library website
You are here: Start » Function Reference » Profile » Profile Local Transforms » SharpenProfile

SharpenProfile
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Sharpens a profile using a 3x1 filter.
Syntax
C++
C#
void fil::SharpenProfile ( const fil::Profile& inProfile, ftl::Optional<const fil::Range&> inRange, const float inFactor, const bool inCyclic, fil::Profile& outProfile )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inRange | Optional<const Range&> | NIL | ||
![]() |
inFactor | const float | 0.0 - ![]() |
1.0f | |
![]() |
inCyclic | const bool | Defines whether the first element should be considered adjacent to the last element | ||
![]() |
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 | Range exceeds the input profile in SharpenProfile. |