Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

contour is vector of points, just multiply x,y of each point on contour with corresponding width/height ratio, you get new points on resized image.