Pds::Opal1k Namespace Reference
Class ConfigV1
Public Types
enum { Version=1 }; enum Depth { Eight_bit, Ten_bit, Twelve_bit }; enum Binning { x1, x2, x4, x8 }; enum Mirroring { None, HFlip, VFlip, HVFlip }; enum { LUT_Size=4096 }; enum { Row_Pixels=1024 }; enum { Column_Pixels=1024 };
Public Member Functions
ConfigV1(); ConfigV1(unsigned short black, unsigned short gain, Depth depth, Binning binning, Mirroring mirroring, bool vertical_remap, bool enable_pixel_correction ); ConfigV1(unsigned short black, unsigned short gain, Depth depth, Binning binning, Mirroring mirroring, bool vertical_remap, bool enable_pixel_correction, const uint16_t* lut); // offset/pedestal setting for camera (before gain) unsigned short black_level() const; // camera gain setting in percentile [100-3200] = [1x-32x] unsigned short gain_percent() const; // offset/pedestal value in pixel counts unsigned short output_offset() const; // bit-depth of pixel counts Depth output_resolution() const; unsigned output_resolution_bits() const; // vertical re-binning of output (consecutive rows summed) Binning vertical_binning() const; // geometric transformation of the image Mirroring output_mirroring() const; // true: remap the pixels to appear in natural geometric order // (left->right, top->bottom) // false: pixels appear on dual taps from different rows // (left->right, top->bottom) alternated with // (left->right, bottom->top) pixel by pixel bool vertical_remapping() const; // correct defective pixels internally bool defect_pixel_correction_enabled() const; // apply output lookup table corrections bool output_lookup_table_enabled() const; // location of output lookup table: output_value[input_value] // (appended to the end of this structure) const uint16_t* output_lookup_table() const; // defective pixel count unsigned number_of_defect_pixels() const; void set_number_of_defect_pixels(unsigned); // location of defective pixel coordinates appended to // the end of this structure const Camera::FrameCoord* defect_pixel_coordinates() const; Camera::FrameCoord* defect_pixel_coordinates(); // total size of this structure // (including defective pixel coords and output lookup table) unsigned size() const;
Overview
Content Tools