CDeinterlace
CDeinterlace class constructor. Creates a new instance of the CDeinterlace class. This class provides a set of algorithms to deinterlace a CCD or IR array interlaced image. An interlaced image occurs when a CCD or IR array is read out using more than one readout amplifier ( i.e. quad readout, split serial, split parallel, etc ).
Syntax
CDeinterlace();
Parameters
None
Returns
None
Required Headers
CDeinterlace.h
Namespace
arc
Throws
None
Remarks
None
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>
        #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.