The width and height of the bounding rectangle, denoted as w and h, respectively, can be calculated for an image contour with an area of S. The top-left corner coordinates (x, y) represent the offset. Figure 5 shows the result of drawing a bounding rectangle on a binary image of ...