how can i calculate position features in matlab

2 views (last 30 days)
how can i calculate x,y cordinates of an area of interest from an image in matlab.

Answers (1)

Image Analyst
Image Analyst on 16 May 2014
It depends on how you create your ROI. Are you using imrect(), rbbox(), imfreehand(), thresholding, color segmentation, or some other method? It depends on which method you use and if you need just the coordinates of the boundary/outline of it (which is the usual case), or if you need the coordinates of every pixel inside the ROI (usually not needed and not the most efficient approach).

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!