So far we have shown methods to segment an image and obtain various regions that share similar characteristics. The next step is to understand the shape, size and geometrical characteristics of these regions.
The regions in an image may be circular, such as an image of coins, or edges in a building. In some cases, the regions may not have simple geometrical shapes like circles, lines, etc. Hence radius, slope, etc., alone do not suffice to characterize the regions. An array of properties such as area, bounding box, central moments, centroid, eccentricity, Euler number, etc., are needed to describe shapes of regions.
In this chapter we begin the discussion with the label function that allows ...
Get Image Processing and Acquisition using Python, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.