You are here: Start » AVL.NET » AVL.ReplacePixels Method
AVL.ReplacePixels Method
Substitutes pixels having the specified value with a new value.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void ReplacePixels( AvlNet.Image inImage, AvlNet.Region inRoi, AvlNet.Pixel inOldPixel, AvlNet.Pixel inNewPixel, out AvlNet.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | AvlNet.Image | Input image. | ||
![]() | inRoi | AvlNet.Region | Range of pixels to be processed. Default value: atl::NIL, or null. | ||
![]() | inOldPixel | AvlNet.Pixel | |||
![]() | inNewPixel | AvlNet.Pixel | |||
![]() | outImage | AvlNet.Image | Output image. |
Hardware Acceleration
This operation is optimized for SSE2 technology for pixels of types: 1xUINT8, 1xSINT16.
This operation supports automatic parallelization for multicore and multiprocessor systems.
Hardware acceleration settings may be manipulated with Settings class.