IVALab Python Libraries
Collection of code for computer vision and robotics with specific API.
Public Member Functions | Public Attributes | List of all members
centroid Class Reference
Inheritance diagram for centroid:
Inheritance graph
[legend]
Collaboration diagram for centroid:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, iPt=None, params=CfgCentroid())
 
def adapt (self)
 
def correct (self)
 
def display_cv (self, I, ratio=None, window_name="track point ")
 
def displayDebugState (self, dbstate=None)
 
def displayState (self, dstate=None, ax=None)
 
def emptyState (self)
 
def get (self, fname)
 
def getState (self)
 
def measure (self, I)
 
def offset (self, dp)
 
def predict (self)
 
def process (self, I)
 
def set (self, fname, fval)
 
def setIfMissing (self, params, pname, pval)
 
def setState (self, dPt)
 
def transform (self, g)
 

Public Attributes

 haveMeas
 
 tparams
 
 tpt
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  iPt = None,
  params = CfgCentroid() 
)

Reimplemented in centroidMulti.

Member Function Documentation

◆ adapt()

def adapt (   self)

◆ correct()

def correct (   self)

◆ display_cv()

def display_cv (   self,
  I,
  ratio = None,
  window_name = "track point " 
)

◆ displayDebugState()

def displayDebugState (   self,
  dbstate = None 
)

◆ displayState()

def displayState (   self,
  dstate = None,
  ax = None 
)

◆ emptyState()

def emptyState (   self)

◆ get()

def get (   self,
  fname 
)

Reimplemented in centroidMulti.

◆ getState()

def getState (   self)

Reimplemented in boardMeasure, and FromLayer.

◆ measure()

def measure (   self,
  I 
)

Reimplemented in centroidMulti.

◆ offset()

def offset (   self,
  dp 
)

◆ predict()

def predict (   self)

◆ process()

def process (   self,
  I 
)

Reimplemented in centroidMulti.

◆ set()

def set (   self,
  fname,
  fval 
)

Reimplemented in centroidMulti.

◆ setIfMissing()

def setIfMissing (   self,
  params,
  pname,
  pval 
)

◆ setState()

def setState (   self,
  dPt 
)

◆ transform()

def transform (   self,
  g 
)

Member Data Documentation

◆ haveMeas

haveMeas

◆ tparams

tparams

◆ tpt

tpt

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