![Moravian Instruments G3 SERIES Скачать руководство пользователя страница 47](http://html.mh-extra.com/html/moravian-instruments/g3-series/g3-series_operating-manual_1833105047.webp)
There are several algorithms for calculating missing color components of
individual pixels – from simply using of color from neighboring pixels (this
method provides quite coarse images) to more accurate methods like bilinear or
bicubic interpolation. There are even more sophisticated algorithms like pixel
grouping etc.
No G3 camera performs the Debayer processing itself. The raw image is always
passed to the host PC and processed by control software. It is also possible not
to perform Debayer filtering and save images in the raw form for processing by
some other software packages.
SIPS software implements bilinear Debayer interpolation. It is possible to
perform Debayer processing immediately when the image is downloaded from
the camera (color image is then immediately displayed and/or saved and no raw
monochrome image is shown) or to perform this processing anytime later.
Debayer processing can be performed from “Image Transform” tool (to open
this tool click
button in the tool-bar or choose “Image Transform” from the
“Tools” menu). Check box “Debayer new images” allows immediate Debayer
processing of images downloaded from the camera. The
button performs
Debayer processing of currently selected image.
The Bayer mask displayed on the schematic image above begins with blue
pixel. But there are no rules specifying the color of the first pixel – in principle
there can be also green pixel from the blue-green line on the upper-left corner
as well as green pixel from the green-red line or red pixel.
There is no way how to determine the Bayer mask organization from the image.
This is why the “Image Transform” tool provides two check-boxes called
“Bayer X odd” and “Bayer Y odd”. Combination of these check-boxes allows
specification of Bayer mask organization on the particular CCD.
State of “Bayer X odd” and “Bayer Y odd” check-boxes are always updated
when you connect camera with color CCD according to the information
provided by the driver. Is is necessary to update them manually only if the raw
color image is loaded from the disk file and needs to be processed without
connected camera.
Wrong definition of these two flags results in wrong color calculation. Proper
settings can be easily determined by the try-and-error method. But Debayer
processing discards the original raw image so it is always necessary to backup
47