Template Class DeInterlace¶
Defined in File astrocam.h
Class Documentation¶
-
template<typename T>
class DeInterlace¶ This is the DeInterlace class.
The data it contains are pointers to the PCI image buffer and the working buffer where the deinterlacing is to take place.
The functions it contains are the procedures for performing the deinterlacing.
This is a template class so that the buffers are created of the proper type.
For the deinterlacing algorithms below, it is assumed that the amplifiers are written to imbuf in the order (0,1,2…) and direction (–>) indicated.
Public Functions
-
inline DeInterlace(T *buf1, T *buf2, long bufsz, int cols, int rows, int readout_type)¶
class constructor
- Parameters:
buf1 – [in]
buf2 – [in]
bufsz – [in]
cols – [in]
rows – [in]
readout_type – [in]
-
inline std::string info()¶
returns some info, just for debugging
- Returns:
string
-
inline void do_deinterlace(int row_start, int row_stop, int index, int index_flip)¶
calls the appropriate deinterlacing function for readout type
This calls the appropriate deinterlacing function based on the readout type, which is an enum that was given to the class constructor when this DeInterlace object was constructed.
The deinterlacing is performed from “row_start” to “row_stop” of the final image, using the pixel “index” of the raw image buffer.
- Parameters:
row_start – [in]
row_stop – [in]
index_flip –
-
inline long bob()¶
Public Static Functions
-
static inline void do_bob_deinterlace(int row_start, int row_stop, int index)¶
-
- Parameters:
row_start – [in]
row_stop – [in]
index – [in]
-
inline DeInterlace(T *buf1, T *buf2, long bufsz, int cols, int rows, int readout_type)¶