| ALGORITHM | IMAGE READ | VALUE |
| DEINTERLACE_NONE | ![]() |
0 |
| DEINTERLACE_PARALLEL | ![]() |
1 |
| DEINTERLACE_SERIAL | ![]() |
2 |
| DEINTERLACE_CCD_QUAD | ![]() |
3 |
| DEINTERLACE_IR_QUAD | ![]() |
4 |
| DEINTERLACE_CDS_IR_QUAD | ![]() |
5 |
| DEINTERLACE_HAWAII_RG | ![]() |
6 |
| DEINTERLACE_STA1600 | ![]() |
7 |
// This code demonstrates how to deinterlace a previously
// taken quad readout CCD image that currently resides in
// the kernel image buffer (CController::mapFd).
#include <iostream.h>
#include "CController.h"
#include "CDeinterlace.h"
using namespace std;
using namespace arc;
CController cController;
try {
// .... previously exposed quad readout
// .... image resides in kernel buffer
// .... at CController.mapFd
CDeinterlace cDeint;
cDeint.RunAlg( cController.mapFd,
rows,
cols,
CDeinterlace::DEINTERLACE_CCD_QUAD );
}
catch ( std::exception &e )
{
cerr << "Exception Occurred: " << e.what() << endl;
}
© Astronomical Research Cameras, Inc.