the image contain two type of objects vehicles and pedestriants. I want get the area and centroid to classify the object.
MATLAB: I am using contourf function with one isoline, i work with binary image. how i can calculate the surface and centroid of the filled contour.
contourfImage Processing Toolboximage segmentation
Best Answer