You are here: Start » AVL.NET » AVL.ReplacePixels(AvlNet.Image, AvlNet.Region, AvlNet.Pixel, AvlNet.Pixel, AvlNet.Image)
AVL.ReplacePixels(AvlNet.Image, AvlNet.Region, AvlNet.Pixel, AvlNet.Pixel, AvlNet.Image)
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
- inImage
- Type: AvlNet.Image
Input image - inRoi
- Type: AvlNet.Region
Range of pixels to be processed, or null. - inOldPixel
- Type: AvlNet.Pixel
- inNewPixel
- Type: AvlNet.Pixel
- outImage
- Type: 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.
