You are here: Start » AVL.NET » Function Reference » Image » Image Point Transforms » AVL.ReplacePixels

AVL.ReplacePixels

Substitutes pixels having the specified value with a new value.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void ReplacePixels
(
	AvlNet.Image inImage,
	AvlNet.Pixel inOldPixel,
	AvlNet.Pixel inNewPixel,
	AvlNet.Image outImage
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inOldPixelAvlNet.Pixel
inNewPixelAvlNet.Pixel
outImageAvlNet.ImageOutput 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.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in ReplacePixels.

Function Overrides

See also