Chapter 10

Image Measurements


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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.