|
Bayer
|
|
| pBayer [out,retval]
|
| Pointer to the ordinal number of the currently selected Bayer filter, zero if Bayer conversion is disabled.
|
| Bayer [in]
|
| Set to zero to disable Bayer conversion, or set to values from 1 to 3 to select one of the following Bayer filters:
|
| 1 - Nearest Neighbour filter. Missing pixels are substituted with adjacent pixels of the same color.
|
| 2 - Bilinear filter. Calculates the values of missing pixels by performing bilinear interpolation of the adjacent pixels.
|
| 3 - High Quality Linear filter. Calculates the values of missign pixels based on the Malvar, He and Cutler algorithm.
|
| 4 - Chrominance filter. Interpolates the values of missing pixels based on chrominance gradients.
|
| S_OK
|
| Success
|
| E_FAIL
|
| Failure.
|
|
|