ImageToolsGrayThreshold Method (PictureMediaBuffer, Byte) |
Sets pixels to 0 when they are greater than a threshold value.
Namespace: StreamCoders.ImagingAssembly: MediaSuite (in MediaSuite.dll) Version: 2.0.5.0 (2.0.5.0)
Syntaxpublic static void GrayThreshold(
PictureMediaBuffer inputBuffer,
byte threshold
)
Public Shared Sub GrayThreshold (
inputBuffer As PictureMediaBuffer,
threshold As Byte
)
public:
static void GrayThreshold(
PictureMediaBuffer^ inputBuffer,
unsigned char threshold
)
static member GrayThreshold :
inputBuffer : PictureMediaBuffer *
threshold : byte -> unit
Parameters
- inputBuffer
- Type: StreamCodersPictureMediaBuffer
[in,out] Input buffer containing 8-bit gray scale image.
- threshold
- Type: SystemByte
The threshold.
See Also