Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
optv / tracker.pxd
Size: Mime:

# cython: language_level=3
# distutils: language = c

from optv.parameters cimport sequence_par, track_par, volume_par, control_par
from optv.tracking_framebuf cimport framebuf
from optv.calibration cimport calibration

cdef extern from "optv/tracking_run.h":
    ctypedef struct tracking_run:
        sequence_par *seq_par
        calibration **cal
        framebuf *fb
    
    tracking_run* tr_new(sequence_par *seq_par, track_par *tpar,
        volume_par *vpar, control_par *cpar, int buf_len, int max_targets,
        char *corres_file_base, char *linkage_file_base, char *prio_file_base, 
        calibration **cal, double flatten_tol)

cdef extern from "optv/track.h":
    cdef enum:
        TR_BUFSPACE, MAX_TARGETS
    void track_forward_start(tracking_run *tr)
    void trackcorr_c_loop(tracking_run *run_info, int step)
    void trackcorr_c_finish(tracking_run *run_info, int step)
    double trackback_c(tracking_run *run_info)

cdef extern from "optv/track3d.h":
    void track3d_loop(tracking_run *run_info, int step)

cdef class Tracker:
    cdef tracking_run *run_info
    cdef int step
    cdef object _keepalive