I am doing a segmentation task using MATLAB. To analyze the performance of my algorithm, I need the area of intersection of each connected component in both images.
In what way are the connected components labelled in an image? Also, does PixelIdxList
list all the linear indices of points that are a part of the connected component?