-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The width and height of the resulting ROI are off by one. The inline code
right now is:
inline void cvSetImageROItoBlob(IplImage *img, CvBlob const *blob)
{
cvSetImageROI(img, cvRect(blob->minx, blob->miny, blob->maxx-blob->minx+1, blob->maxy-blob->miny+1));
};
The correct code should be:
inline void cvSetImageROItoBlob(IplImage *img, CvBlob const *blob)
{
cvSetImageROI(img, cvRect(blob->minx, blob->miny, blob->maxx-blob->minx+1, blob->maxy-blob->miny+1));
};
Original issue reported on code.google.com by m...@adornably.com
on 15 Jul 2013 at 9:39