ImageTools Methods |
The ImageTools type exposes the following members.
Name | Description | |
---|---|---|
BitmapToRgb24 |
Converts a 24-bit bitmap to PictureMediaBuffer.
| |
GrayAbsoluteDifference |
Calculates absolute difference abs(X1(ij) - X2(ij)) between two gray scale images.
| |
GrayDilation |
Dilates a gray scale picture using a 3x3 kernel matrix.
| |
GrayErosion |
Applies erosion on a 8-bit gray scale image.
| |
GrayGaussBlur3x3 |
Applies 3x3 Gaussian blur on a 8-bit gray scale image.
| |
GrayMedian |
Applies 3x3 media filter on a 8-bit gray scale image.
| |
GrayPrewittHorizontal |
Applies horizontal Prewitt filter on a 8-bit gray scale image. The kernel size is 3x3.
| |
GrayPrewittVertical |
Applies vertical Prewitt filter on a 8-bit gray scale image. The kernel size is 3x3.
| |
GraySobelHorizontal |
Applies horizontal Sobel filter on a 8-bit gray scale image. The kernel size is 3x3.
| |
GraySobelVertical |
Applies vertical Sobel filter on a 8-bit gray scale image. The kernel size is 3x3.
| |
GrayThreshold(PictureMediaBuffer, Byte) |
Sets pixels to 0 when they are greater than a threshold value.
| |
GrayThreshold(PictureMediaBuffer, Byte, Byte, CompareMethod) |
Sets pixels to a new value when they are greater than a threshold value.
| |
GrayToRgb24 |
Converts an 8-bit gray scale image to a 24-bit image.
| |
GrayWeightedSum |
Calculates weighted sum where (BufferX1 * alpha) + (BufferX2 * (1-alpha)). The result of
the function is stored in BufferX2.
| |
MirrorRgb24 |
Mirrors a 24-bit RGB picture.
| |
ResizeRgb24 |
Resizes a 24-bit RGB picture.
| |
Rgb16_565_ToRgb24 |
Converts a 16-bit RGB-565 image to RGB-24 bit image.
| |
Rgb24AbsoluteDifference |
Calculates the absolute difference between two 24-bit images.
| |
Rgb24ToBitmap(PictureMediaBuffer) |
Converts a PictureMediaBuffer to an RGB 24-bit Bitmap (System.Drawing.Imaging.Bitmap)
| |
Rgb24ToBitmap(MediaBufferByte, Int32, Int32) | ||
Rgb24ToGray |
Converts a RGB-24 bit image to 8-bit gray scale.
| |
Rgb24ToRgb32 |
Converts a raw RGB-24 bitmap to RGB-32.
| |
Rgb32ToRgb24 |
Converts a raw RGB-32 bitmap to RGB-24.
| |
YuvToRgb24 | ||
YUY2ToRgb24 |
Converts a YUY2 composite to RGB-24 bit image.
| |
YV12ToRgb24 |