You are here: Start » FIL.NET » Function Reference » Image » Image Point Transforms » FIL.ClipPixels
Sets pixels below the low value to the low value and above the high value to the high value.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ClipPixels ( FilNet.Image inImage, NullableRef<FilNet.Region> inRoi, float? inLowValue, float? inHighValue, FilNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | FilNet.Image | Input image. | ||
![]() | inRoi | FilNet.NullableRef<FilNet.Region> | Range of pixels to be processed. Default value: ftl::NIL. | ||
![]() | inLowValue | float? | 64.0f | The lower threshold for the image pixel values. Default value: 64.0f. | |
![]() | inHighValue | float? | 192.0f | The higher threshold for the image pixel values. Default value: 192.0f. | |
![]() | outImage | FilNet.Image | Output image. |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ClipPixels. |
DomainError | The low value cannot be higher than the high value in ClipPixels. |