Python API Documentation

Calibration

Below is documentation for the wrapper class calibration.multiCamCalibration of the multiCamCalibration C++ class.

Refocusing

Below is documentation for the wrapper class refocusing.saRefocus of the saRefocus C++ class.

class refocusing.saRefocus

Methods

addView((saRefocus)arg1, (object)arg2, (object)arg3, (object)arg4) → None
clearViews((saRefocus)arg1) → None
getC((saRefocus)arg1, (int)arg2) → object
getP((saRefocus)arg1, (int)arg2) → object
initializeGPU((saRefocus)arg1) → None :

Initialize everything required to calculate refocused images on GPU.

project_point((saRefocus)arg1, (int)arg2, (object)arg3) → object
read_calib_data((saRefocus)arg1, (str)arg2) → None :

Read refractive calibration data

read_imgs((saRefocus)arg1, (str)arg2) → None :

Read images when they are as individual files in separate folders

refocus((saRefocus)arg1, (float)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6, (int)arg7) → object :

Calculate a refocused image

Parameters:

z

Depth in physical units at which to calculate refocused image

rx

Angle by which to rotate focal plane about x axis

ry

Angle by which you rotate focal plane about y axis

rz

Angle by which to rotate focal plane about z axis

thresh

Thresholding level (if additive refocusing is used)

frame

The frame (int time) to refocus. Indexing starts at 0.

Returns:

Refocused

image as OpenCV Mat type

setF((saRefocus)arg1, (float)arg2) → None
setHF((saRefocus)arg1, (int)arg2) → None
setMult((saRefocus)arg1, (int)arg2, (float)arg3) → None
setRefractive((saRefocus)arg1, (int)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6, (float)arg7) → None
showSettings((saRefocus)arg1) → str

Tracking

Below is documentation for the wrapper class tracking.pTracking of the pTracking C++ class.

class tracking.pTracking

Methods

getP((pTracking)arg1) → object :
C++ signature :
cv::Mat getP(pTracking {lvalue})
get_match_counts((pTracking)arg1) → object :
C++ signature :
std::vector<int, std::allocator<int> > get_match_counts(pTracking {lvalue})
set_vars((pTracking)arg1, (int)arg2, (float)arg3, (float)arg4, (float)arg5, (float)arg6) → None :
C++ signature :
void set_vars(pTracking {lvalue},int,double,double,double,double)
track_frame((pTracking)arg1, (int)arg2, (int)arg3) → None :
C++ signature :
void track_frame(pTracking {lvalue},int,int)
write_quiver_data((pTracking)arg1) → None :
C++ signature :
void write_quiver_data(pTracking {lvalue})

Tools

Below is documentation for the wrapper module :py:module:`tools` of the C++ utility functions.