Deinterlace Algorithm Constants
Syntax
CDeinterlace::DEINTERLACE_NONE
CDeinterlace::DEINTERLACE_PARALLEL
CDeinterlace::DEINTERLACE_SERIAL
CDeinterlace::DEINTERLACE_CCD_QUAD
CDeinterlace::DEINTERLACE_IR_QUAD
CDeinterlace::DEINTERLACE_CDS_IR_QUAD
CDeinterlace::DEINTERLACE_HAWAII_RG
CDeinterlace::DEINTERLACE_STA1600
Type
32-bit integer
Required Headers
CDeinterlace.h
Remarks
Integer class constants that correspond to available deinterlacing algorithms. Used exclusively with the RunAlg deinterlace method.

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
Example
        // 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.