If I understand correctly, when I want to perform an processing function (like thresholding)in a particular rectangular area, I do something like this
_____________________________________
ROI.height = blobs[i].rect.height;
ROI.width = blobs[i].rect.width;
ROIoffset = (int) blobs[i].rect.y * width + (int) blobs[i].rect.x;
status = ippiThreshold_LTValGTVal_8u_C1R(imgIpp+ROIoffset, width, binIpp+ROIoffset, width, ROI, threshold, 0, threshold, 255);
_________________________________
