Another main function of image processing is the analysis of image content (binary or other). When analyzing an image, usually we search for the presence of edges, corners, or circles inside it. Having this information at hand, we are in the position to detect shapes and locate specific objects in our images, or enhance selected parts of the image. This has a lot to do with the subject of ROI selection that we have discussed so far in this chapter. Let's start our image analysis techniques' overview with the most popular method, which is edge detection.
Edge detection is a process that typically transforms a grayscale image to a binary one, denoting all the pixels belonging to lines of different orientations with instances of 1. The edge detection process is widely used and has been tackled using a variety of techniques. MATLAB has an inherent function called edge
, which has incorporated most of the popular methods in an easily usable...