Does anybody Know how I can get from image 1 to image 2 and find the area f each element (as we have in image 2) in Matlab, knowing that the total area of the image one is 61*89 cm?
Hello Mojtaba, you have to first convert the image into black and whtie using the inbuilt function in matlab "im2bw", you will then get your desired second image. Regarding the area, the total area occupied by all the white regions in image 2 can be computed using the function "bwarea", whereas for computing individual areas, you will have to use image segmentation. One such example is given in: