I have an image of size 500X500. It contains two objects,their centroid are at (100,100) and (300,250) respectively. centroid obtained by "regionprops(bw, 'centroid')" method. I also have Area of two object by "regionprops(bw2, 'Area')" method.
now only using the area and centroid of objects,help me to construct totally new image say Z=zeros(500,500) in which i am able to plot two objects without using the original image,but using solely the centroid and area of those two object from an image.
Thank you.
Best Answer