Shift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon);         if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[0]; window.width = (int)window_out[0]; window.height = (int)window_out[0]; }         return retVal;     }       //     // C++:  void segmentMotion(Mat mhi, Mat& segmask, vector_Rect& boundingRects, double timestamp, double segThresh)     