Method ReplacePixels
ReplacePixels<TColor, TDepth>(Image<TColor, TDepth>, TColor, TColor)
Declaration
public static void ReplacePixels<TColor, TDepth>(this Image<TColor, TDepth> image, TColor replacementColor, TColor lower) where TColor : struct, IColor where TDepth : new()
Parameters
Type |
Name |
Description |
Image<TColor, TDepth> |
image |
|
TColor |
replacementColor |
|
TColor |
lower |
|
Type Parameters
Name |
Description |
TColor |
|
TDepth |
|
ReplacePixels<TColor, TDepth>(Image<TColor, TDepth>, TColor, TColor, TColor)
Declaration
public static void ReplacePixels<TColor, TDepth>(this Image<TColor, TDepth> image, TColor replacementColor, TColor lower, TColor higher) where TColor : struct, IColor where TDepth : new()
Parameters
Type |
Name |
Description |
Image<TColor, TDepth> |
image |
|
TColor |
replacementColor |
|
TColor |
lower |
|
TColor |
higher |
|
Type Parameters
Name |
Description |
TColor |
|
TDepth |
|