None |
// 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>
#include "CController.h"
#include "CDeinterlace.h"
using namespace std;
using namespace arc;
int main()
{
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.