public void performTracking ( T image ) { if ( image . width != imageWidth || image . height != imageHeight ) throw new IllegalArgumentException ( "Tracking image size is not the same as " + "input image. Expected " + imageWidth + " x " + imageHeight ) ; updateTrackLocation ( image ) ; if ( interp_factor != 0 ) performLearning ( image ) ; }
Search for the track in the image and