matlab - Represent white spots by rectangles -


i have binary image white spots: binary image want represent each white spot rectangle same size of spot , if possible same orientation. there function that? can detect each spot using rp: enter image description here

i compute smallest feret diameter (shortest projection) corresponding angle, , perpendicular projection. corresponds smallest bounding box.

see here matlab code on computing feret diameters: http://www.crisluengo.net/index.php/archives/408


Comments

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -