Available conversion modes from Bayer patterns to RGB images. More...
Inherits object.
Static Public Attributes | |
int | HalfResolution = 3 |
This method is provided primarily for display. More... | |
int | Linear = 1 |
This method offers the highest accuracy, but also the slowest speed. More... | |
int | NearestNeighbor = 2 |
This method offers the fastest speed for a full resolution image, but the color accuracy is not as high as the cvb.foundation.RGBConversion.Linear method. More... | |
Available conversion modes from Bayer patterns to RGB images.
|
static |
This method is provided primarily for display.
This method creates an RGB image with half the height and half the width of the source image, the color accuracy is the same as the cvb.foundation.RGBConversion.NearestNeighbor method, but half the spacial accuracy is lost. If the user needs a fast display for focusing or setup of the camera, then this method will allow higher frame rates on a suitable PC.
|
static |
This method offers the highest accuracy, but also the slowest speed.
Interpolation of the nearest pixels is used to calculate the two unknown color values for each position. Depending on the position of the pixel either two or four pixels are used for the interpolation. In this mode full spatial resolution is maintained.
|
static |
This method offers the fastest speed for a full resolution image, but the color accuracy is not as high as the cvb.foundation.RGBConversion.Linear method.
The color from a neighbor pixel is used for the two unknown color values. This makes the conversion faster, because there is no need for interpolation. In this method full spatial resolution is maintained.