You are here: Start » AVL.NET » AVL.CropPixels(AvlNet.Image, AvlNet.Region, float?, float?, AvlNet.Image)
AVL.CropPixels(AvlNet.Image, AvlNet.Region, float?, float?, AvlNet.Image)
Sets pixels below the low value to the low value and above the high value to the high value.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void CropPixels( AvlNet.Image inImage, AvlNet.Region inRoi, float? inLowValue, float? inHighValue, out AvlNet.Image outImage )
Parameters
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.Region
Range of pixels to be processed, or null. - inLowValue
- Type: System.Nullable<System.Single>
The lower threshold for the image pixel values, or null. - inHighValue
- Type: System.Nullable<System.Single>
The higher threshold for the image pixel values, or null. - outImage
- Type: AvlNet.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
| Error type | Description |
|---|---|
| DomainError | The low value cannot be higher than the high value in CropPixels. |
