setImage sets the videotex returned by flob.videotex or flob.getSrcImage
case 0: videotex = src videoimg as flob sees it (incoming image)
case 1: videotex = binary image result from om==0, incoming img vs static bg
case 2: videotex = binary image result from om>0, incoming img vs dynamic bg
case 3: videotex = image result from incoming img + binary image
set @thresholdmode
- @flob.ABS (0): absolute diference of incoming pixel versus background
- @flob.LESSER (1): if incoming pixel less than threshold, mark as white pixel in binary image
- @flob.GREATER (2): white if above @videothresh value
setTrackFeatures turns on/off searching for feature points: armleft,
armright, head, bottom for each blob
if (tflob.trackfeatures[0]) b = calc_feature_head(b);
if (tflob.trackfeatures[1]) b = calc_feature_arms(b);
if (tflob.trackfeatures[2])b = calc_feature_feet(b);
if (tflob.trackfeatures[3])b = calc_feature_bottom(b);
set the videotex returned by flob.videotex
case 0: videotex = src videoimg as flob sees it (incoming image)
case 1: videotex = binary image result from om==0, incoming img vs static bg
case 2: videotex = binary image result from om>0, incoming img vs dynamic bg
case 3: videotex = image result from incoming img + binary image