boilercv_pipeline.models.header

Contents

boilercv_pipeline.models.header#

CINE file header model.

Submodules#

Package Contents#

Classes#

CineHeader

CINE file header.

CineHeaderPascal

CINE file header with Phantom’s original field names.

API#

class boilercv_pipeline.models.header.CineHeader(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

CINE file header.

Initialization

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

exposure_time: float#

‘Field(…)’

type: int#

‘Field(…)’

headersize: int#

‘Field(…)’

compression: int#

‘Field(…)’

version: int#

‘Field(…)’

first_movie_image: int#

‘Field(…)’

total_image_count: int#

‘Field(…)’

first_image_no: int#

‘Field(…)’

image_count: int#

‘Field(…)’

off_image_offsets: int#

‘Field(…)’

trigger_time: str#

‘Field(…)’

bi_size: int#

‘Field(…)’

bi_width: int#

‘Field(…)’

bi_height: int#

‘Field(…)’

bi_planes: int#

‘Field(…)’

bi_bit_count: int#

‘Field(…)’

bi_compression: int#

‘Field(…)’

bi_size_image: int#

‘Field(…)’

bi_x_pels_per_meter: int#

‘Field(…)’

bi_y_pels_per_meter: int#

‘Field(…)’

bi_clr_used: int#

‘Field(…)’

bi_clr_important: int#

‘Field(…)’

trig_frame: int#

‘Field(…)’

mark: int#

‘Field(…)’

length: int#

‘Field(…)’

sig_option: int#

‘Field(…)’

bin_channels: int#

‘Field(…)’

samples_per_image: int#

‘Field(…)’

ana_option: int#

‘Field(…)’

ana_channels: int#

‘Field(…)’

ana_board: int#

‘Field(…)’

ch_option: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

ana_gain: boilercv_pipeline.models.header.types.FloatVec#

‘Field(…)’

l_first_image: int#

‘Field(…)’

dw_image_count: int#

‘Field(…)’

nq_factor: int#

‘Field(…)’

w_cine_file_type: int#

‘Field(…)’

im_width: int#

‘Field(…)’

im_height: int#

‘Field(…)’

serial: int#

‘Field(…)’

auto_exposure: int#

‘Field(…)’

b_flip_h: bool#

‘Field(…)’

b_flip_v: bool#

‘Field(…)’

frame_rate: int#

‘Field(…)’

grid: int#

‘Field(…)’

post_trigger: int#

‘Field(…)’

b_enable_color: bool#

‘Field(…)’

camera_version: int#

‘Field(…)’

firmware_version: int#

‘Field(…)’

software_version: int#

‘Field(…)’

recording_time_zone: int#

‘Field(…)’

cfa: int#

‘Field(…)’

auto_exp_level: int#

‘Field(…)’

auto_exp_speed: int#

‘Field(…)’

auto_exp_rect_left: int#

‘Field(…)’

auto_exp_rect_top: int#

‘Field(…)’

auto_exp_rect_right: int#

‘Field(…)’

auto_exp_rect_bottom: int#

‘Field(…)’

wb_gain0_r: float#

‘Field(…)’

wb_gain0_b: float#

‘Field(…)’

wb_gain1_r: float#

‘Field(…)’

wb_gain1_b: float#

‘Field(…)’

wb_gain2_r: float#

‘Field(…)’

wb_gain2_b: float#

‘Field(…)’

wb_gain3_r: float#

‘Field(…)’

wb_gain3_b: float#

‘Field(…)’

rotate: int#

‘Field(…)’

wb_view_r: float#

‘Field(…)’

wb_view_b: float#

‘Field(…)’

real_bpp: int#

‘Field(…)’

filter_code: int#

‘Field(…)’

filter_param: int#

‘Field(…)’

uf_dim: int#

‘Field(…)’

uf_shifts: int#

‘Field(…)’

uf_bias: int#

‘Field(…)’

uf_coef: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

black_cal_s_ver: int#

‘Field(…)’

white_cal_s_ver: int#

‘Field(…)’

gray_cal_s_ver: int#

‘Field(…)’

b_stamp_time: bool#

‘Field(…)’

sound_dest: int#

‘Field(…)’

frp_steps: int#

‘Field(…)’

frp_img_nr: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

frp_rate: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

frp_exp: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

mc_cnt: int#

‘Field(…)’

mc_percent: boilercv_pipeline.models.header.types.FloatVec#

‘Field(…)’

ci_calib: int#

‘Field(…)’

calib_width: int#

‘Field(…)’

calib_height: int#

‘Field(…)’

calib_rate: int#

‘Field(…)’

calib_exp: int#

‘Field(…)’

calib_edr: int#

‘Field(…)’

calib_temp: int#

‘Field(…)’

head_serial: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

range_code: int#

‘Field(…)’

range_size: int#

‘Field(…)’

decimation: int#

‘Field(…)’

master_serial: int#

‘Field(…)’

sensor: int#

‘Field(…)’

shutter_ns: int#

‘Field(…)’

edr_shutter_ns: int#

‘Field(…)’

frame_delay_ns: int#

‘Field(…)’

im_pos_x_acq: int#

‘Field(…)’

im_pos_y_acq: int#

‘Field(…)’

im_width_acq: int#

‘Field(…)’

im_height_acq: int#

‘Field(…)’

rising_edge: bool#

‘Field(…)’

filter_time: int#

‘Field(…)’

long_ready: bool#

‘Field(…)’

shutter_off: bool#

‘Field(…)’

b_meta_wb: bool#

‘Field(…)’

black_level: int#

‘Field(…)’

white_level: int#

‘Field(…)’

f_offset: float#

‘Field(…)’

f_gain: float#

‘Field(…)’

f_saturation: float#

‘Field(…)’

f_hue: float#

‘Field(…)’

f_gamma: float#

‘Field(…)’

f_gamma_r: float#

‘Field(…)’

f_gamma_b: float#

‘Field(…)’

f_flare: float#

‘Field(…)’

f_pedestal_r: float#

‘Field(…)’

f_pedestal_g: float#

‘Field(…)’

f_pedestal_b: float#

‘Field(…)’

f_chroma: float#

‘Field(…)’

tone_points: int#

‘Field(…)’

f_tone: boilercv_pipeline.models.header.types.FloatVec#

‘Field(…)’

enable_matrices: bool#

‘Field(…)’

cm_user: boilercv_pipeline.models.header.types.FloatVec#

‘Field(…)’

enable_crop: bool#

‘Field(…)’

crop_rect_left: int#

‘Field(…)’

crop_rect_top: int#

‘Field(…)’

crop_rect_right: int#

‘Field(…)’

crop_rect_bottom: int#

‘Field(…)’

enable_resample: bool#

‘Field(…)’

resample_width: int#

‘Field(…)’

resample_height: int#

‘Field(…)’

f_gain16_8: float#

‘Field(…)’

frp_shape: boilercv_pipeline.models.header.types.IntVec#

‘Field(…)’

class boilercv_pipeline.models.header.CineHeaderPascal(
/,
**data: typing.Any,
)#

Bases: pydantic.BaseModel

CINE file header with Phantom’s original field names.

Initialization

Create a new model by parsing and validating input data from keyword arguments.

Raises [ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.

self is explicitly positional-only to allow self as a field name.

ExposureTime: boilercv_pipeline.models.header.types.FloatVec#

None

Type: int#

None

Headersize: int#

None

Compression: int#

None

Version: int#

None

FirstMovieImage: int#

None

TotalImageCount: int#

None

FirstImageNo: int#

None

ImageCount: int#

None

OffImageOffsets: int#

None

TriggerTime: str#

None

BiSize: int#

None

BiWidth: int#

None

BiHeight: int#

None

BiPlanes: int#

None

BiBitCount: int#

None

BiCompression: int#

None

BiSizeImage: int#

None

BiXPelsPerMeter: int#

None

BiYPelsPerMeter: int#

None

BiClrUsed: int#

None

BiClrImportant: int#

None

TrigFrame: int#

None

Mark: int#

None

Length: int#

None

SigOption: int#

None

BinChannels: int#

None

SamplesPerImage: int#

None

AnaOption: int#

None

AnaChannels: int#

None

AnaBoard: int#

None

ChOption: boilercv_pipeline.models.header.types.IntVec#

None

AnaGain: boilercv_pipeline.models.header.types.FloatVec#

None

LFirstImage: int#

None

DwImageCount: int#

None

NQFactor: int#

None

WCineFileType: int#

None

ImWidth: int#

None

ImHeight: int#

None

Serial: int#

None

AutoExposure: int#

None

BFlipH: bool#

None

BFlipV: bool#

None

FrameRate: int#

None

Grid: int#

None

PostTrigger: int#

None

BEnableColor: bool#

None

CameraVersion: int#

None

FirmwareVersion: int#

None

SoftwareVersion: int#

None

RecordingTimeZone: int#

None

CFA: int#

None

AutoExpLevel: int#

None

AutoExpSpeed: int#

None

AutoExpRectLeft: int#

None

AutoExpRectTop: int#

None

AutoExpRectRight: int#

None

AutoExpRectBottom: int#

None

WBGain0R: float#

None

WBGain0B: float#

None

WBGain1R: float#

None

WBGain1B: float#

None

WBGain2R: float#

None

WBGain2B: float#

None

WBGain3R: float#

None

WBGain3B: float#

None

Rotate: int#

None

WBViewR: float#

None

WBViewB: float#

None

RealBPP: int#

None

FilterCode: int#

None

FilterParam: int#

None

UFDim: int#

None

UFShifts: int#

None

UFBias: int#

None

UFCoef: boilercv_pipeline.models.header.types.IntVec#

None

BlackCalSVer: int#

None

WhiteCalSVer: int#

None

GrayCalSVer: int#

None

BStampTime: bool#

None

SoundDest: int#

None

FRPSteps: int#

None

FRPImgNr: boilercv_pipeline.models.header.types.IntVec#

None

FRPRate: boilercv_pipeline.models.header.types.IntVec#

None

FRPExp: boilercv_pipeline.models.header.types.IntVec#

None

MCCnt: int#

None

MCPercent: boilercv_pipeline.models.header.types.FloatVec#

None

CICalib: int#

None

CalibWidth: int#

None

CalibHeight: int#

None

CalibRate: int#

None

CalibExp: int#

None

CalibEDR: int#

None

CalibTemp: int#

None

HeadSerial: boilercv_pipeline.models.header.types.IntVec#

None

RangeCode: int#

None

RangeSize: int#

None

Decimation: int#

None

MasterSerial: int#

None

Sensor: int#

None

ShutterNs: int#

None

EDRShutterNs: int#

None

FrameDelayNs: int#

None

ImPosXAcq: int#

None

ImPosYAcq: int#

None

ImWidthAcq: int#

None

ImHeightAcq: int#

None

RisingEdge: bool#

None

FilterTime: int#

None

LongReady: bool#

None

ShutterOff: bool#

None

BMetaWB: bool#

None

BlackLevel: int#

None

WhiteLevel: int#

None

FOffset: float#

None

FGain: float#

None

FSaturation: float#

None

FHue: float#

None

FGamma: float#

None

FGammaR: float#

None

FGammaB: float#

None

FFlare: float#

None

FPedestalR: float#

None

FPedestalG: float#

None

FPedestalB: float#

None

FChroma: float#

None

TonePoints: int#

None

FTone: boilercv_pipeline.models.header.types.FloatVec#

None

EnableMatrices: bool#

None

CmUser: boilercv_pipeline.models.header.types.FloatVec#

None

EnableCrop: bool#

None

CropRectLeft: int#

None

CropRectTop: int#

None

CropRectRight: int#

None

CropRectBottom: int#

None

EnableResample: bool#

None

ResampleWidth: int#

None

ResampleHeight: int#

None

FGain16_8: float#

None

FRPShape: boilercv_pipeline.models.header.types.IntVec#

None