First time here? Check out the FAQ!
answered 2013-03-21 07:21:40 -0600
Simply put, use the functionality provided by the C++ cv::Mat class interface :)
Mat inputImage = imread(location); Mat window = inputImage( Rect(xWindowUpperLeft, yWindowUpperLeft, widthWindow, heigthWindow) );