tvaLib
Public Member Functions | Static Public Attributes | List of all members
lib.metadata.CamType Class Reference

Basic TI objects. More...

Inheritance diagram for lib.metadata.CamType:

Public Member Functions

def __init__ (self, name, resX, resY, frameRate, camera_matrix='', dist_coeffs='', FOV=1, freeScalingParameter=1.0, imageScalingFactor=1.0)
 

Static Public Attributes

 idx = Column(Integer, primary_key=True)
 
 name = Column(String)
 
 resX = Column(Integer)
 
 resY = Column(Integer)
 
 frameRate = Column(Float)
 
 camera_matrix = Column(String)
 
 dist_coeffs = Column(String)
 
 FOV = Column(Integer)
 
 freeScalingParameter = Column(Float)
 
 imageScalingFactor = Column(Float)
 

Detailed Description

Basic TI objects.

Represents parameters of the specific camera used. 

Definition at line 52 of file metadata.py.

Constructor & Destructor Documentation

◆ __init__()

def lib.metadata.CamType.__init__ (   self,
  name,
  resX,
  resY,
  frameRate,
  camera_matrix = '',
  dist_coeffs = '',
  FOV = 1,
  freeScalingParameter = 1.0,
  imageScalingFactor = 1.0 
)

Definition at line 66 of file metadata.py.

66  def __init__(self, name, resX, resY, frameRate, camera_matrix='', dist_coeffs='', FOV=1, freeScalingParameter=1.0, imageScalingFactor=1.0):
67  self.name = name
68  try: self.resX = int(resX)
69  except: self.resX = None
70  try: self.resY = int(resY)
71  except: self.resY = None
72  try: self.frameRate = float(frameRate)
73  except: self.frameRate = None
74  self.camera_matrix = camera_matrix
75  self.dist_coeffs = dist_coeffs
76  try: self.FOV = float(FOV)
77  except: self.FOV = None
78  try: self.freeScalingParameter = float(freeScalingParameter)
79  except: self.freeScalingParameter = None
80  try: self.imageScalingFactor = float(imageScalingFactor)
81  except: self.imageScalingFactor = None
82 
83 

Member Data Documentation

◆ camera_matrix

lib.metadata.CamType.camera_matrix = Column(String)
static

Definition at line 60 of file metadata.py.

◆ dist_coeffs

lib.metadata.CamType.dist_coeffs = Column(String)
static

Definition at line 61 of file metadata.py.

◆ FOV

lib.metadata.CamType.FOV = Column(Integer)
static

Definition at line 62 of file metadata.py.

◆ frameRate

lib.metadata.CamType.frameRate = Column(Float)
static

Definition at line 59 of file metadata.py.

◆ freeScalingParameter

lib.metadata.CamType.freeScalingParameter = Column(Float)
static

Definition at line 63 of file metadata.py.

◆ idx

lib.metadata.CamType.idx = Column(Integer, primary_key=True)
static

Definition at line 55 of file metadata.py.

◆ imageScalingFactor

lib.metadata.CamType.imageScalingFactor = Column(Float)
static

Definition at line 64 of file metadata.py.

◆ name

lib.metadata.CamType.name = Column(String)
static

Definition at line 56 of file metadata.py.

◆ resX

lib.metadata.CamType.resX = Column(Integer)
static

Definition at line 57 of file metadata.py.

◆ resY

lib.metadata.CamType.resY = Column(Integer)
static

Definition at line 58 of file metadata.py.


The documentation for this class was generated from the following file: