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
inImageAvlNet.ImageInput image.
inRoiAvlNet.RegionRange of pixels to be processed. Default value: atl::NIL, or null.
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.

See also