You are here: Start » AVL.NET » Invoke.ReplacePixels
Substitutes pixels having the specified value with a new value.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ReplacePixels ( Avl.Image inImage, Optional<Avl.Region> inRoi, Avl.Pixel inOldPixel, Avl.Pixel inNewPixel, Avl.Image outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Region> | Range of pixels to be processed. Default value: atl::NIL. | ||
![]() | inOldPixel | Avl.Pixel | |||
![]() | inNewPixel | Avl.Pixel | |||
![]() | outImage | Avl.Image | Output image. |