Functions | Variables
track_features_lk2 Namespace Reference

Functions

def get_sample
def on_mouse
 the mouse callback
def snapL

Variables

tuple a = cv.CreateImage(cv.GetSize (aa), 8, 1)
tuple aa = cv.LoadImage(frames[fc])
 add_remove_pt = False
tuple b = cv.CreateImage(cv.GetSize (aa), 8, 1)
tuple bb = cv.LoadImage(frames[fc+1])
tuple currPyr = cv.CreateMat(a.height / 3, a.width + 8, cv.CV_8UC1)
tuple eig_image = cv.CreateMat(a.height, a.width, cv.CV_32FC1)
int fc = 0
int flags = 0
list frames = sys.argv[1:]
 so, here is the main part of the program
 image = None
 some "global" variables
tuple iprev = tuple([int(c) for c in prev])
tuple ithis = tuple([int(c) for c in this])
int MAX_COUNT = 500
 need_to_init = False
 night_mode = False
tuple prevFeatures = cv.GoodFeaturesToTrack(a, eig_image, temp_image, 400, 0.01, 0.01)
tuple prevPyr = cv.CreateMat(a.height / 3, a.width + 8, cv.CV_8UC1)
 pt = None
tuple temp_image = cv.CreateMat(a.height, a.width, cv.CV_32FC1)
int win_size = 10
 some "constants"

Function Documentation

def track_features_lk2.get_sample (   filename,
  iscolor = cv.CV_LOAD_IMAGE_COLOR 
)

Definition at line 61 of file track_features_lk2.py.

def track_features_lk2.on_mouse (   event,
  x,
  y,
  flags,
  param 
)

the mouse callback

Definition at line 35 of file track_features_lk2.py.

Definition at line 54 of file track_features_lk2.py.


Variable Documentation

tuple track_features_lk2::a = cv.CreateImage(cv.GetSize (aa), 8, 1)

Definition at line 90 of file track_features_lk2.py.

tuple track_features_lk2::aa = cv.LoadImage(frames[fc])

Definition at line 88 of file track_features_lk2.py.

Definition at line 26 of file track_features_lk2.py.

tuple track_features_lk2::b = cv.CreateImage(cv.GetSize (aa), 8, 1)

Definition at line 91 of file track_features_lk2.py.

tuple track_features_lk2::bb = cv.LoadImage(frames[fc+1])

Definition at line 89 of file track_features_lk2.py.

tuple track_features_lk2::currPyr = cv.CreateMat(a.height / 3, a.width + 8, cv.CV_8UC1)

Definition at line 103 of file track_features_lk2.py.

tuple track_features_lk2::eig_image = cv.CreateMat(a.height, a.width, cv.CV_32FC1)

Definition at line 99 of file track_features_lk2.py.

Definition at line 84 of file track_features_lk2.py.

Definition at line 27 of file track_features_lk2.py.

list track_features_lk2::frames = sys.argv[1:]

so, here is the main part of the program

Definition at line 79 of file track_features_lk2.py.

some "global" variables

Definition at line 24 of file track_features_lk2.py.

tuple track_features_lk2::iprev = tuple([int(c) for c in prev])

Definition at line 118 of file track_features_lk2.py.

tuple track_features_lk2::ithis = tuple([int(c) for c in this])

Definition at line 119 of file track_features_lk2.py.

Definition at line 19 of file track_features_lk2.py.

Definition at line 29 of file track_features_lk2.py.

Definition at line 28 of file track_features_lk2.py.

tuple track_features_lk2::prevFeatures = cv.GoodFeaturesToTrack(a, eig_image, temp_image, 400, 0.01, 0.01)

Definition at line 104 of file track_features_lk2.py.

tuple track_features_lk2::prevPyr = cv.CreateMat(a.height / 3, a.width + 8, cv.CV_8UC1)

Definition at line 102 of file track_features_lk2.py.

Definition at line 25 of file track_features_lk2.py.

tuple track_features_lk2::temp_image = cv.CreateMat(a.height, a.width, cv.CV_32FC1)

Definition at line 100 of file track_features_lk2.py.

some "constants"

Definition at line 18 of file track_features_lk2.py.



image_algos
Author(s): Dejan Pangercic
autogenerated on Mon Oct 6 2014 09:35:23