First time here? Check out the FAQ!
answered 2012-11-29 00:56:56 -0600
I think the problem is that the anchor is not in center of rectangle, i.e. resulting image is shifted. It should be (3,3,-1,-1,CV_SHAPE_RECT).