This document discusses various image processing techniques in Matlab including edge detection, the radon transform, inverse radon transform, and marker-controlled watershed segmentation. It provides code examples for detecting edges using the edge function, computing projections of an image using the radon transform, reconstructing images from projections using the inverse radon transform, and segmenting touching objects using marker-controlled watershed segmentation.
17. Inverse Radon Transform The iradon function inverts the Radon transform and can therefore be used to reconstruct images. iradon reconstructs an image from parallel-beam projections. In parallel-beam geometry, each projection is formed by combining a set of line integrals through an image at a specific angle.
18. Inverse Radon Transform P = phantom(def, n) generates an image of a head phantom that can be used to test the numerical accuracy of radon and iradon or other two-dimensional reconstruction algorithms.
21. Marker-Controlled Watershed Segmentation Separating touching objects in an image is one of the more difficult image processing operations. The watershed transform is often applied to this problem.
22.
23. Step 2: Use the Gradient Magnitude as the Segmentation Function