Image Processing ( calculate perimeter)

2 views (last 30 days)
Prashan
Prashan on 7 Apr 2011
just doing an image processing application at the moment for hand therapy system .. Is it possible to measure the perimeter or area of this image ( the hand ) by using any method im new to matlab. http://www.flickr.com/photos/60171113@N05/5597154717/ thanks
  1 Comment
Sean de Wolski
Sean de Wolski on 7 Apr 2011
Are the images with the blue background your starting images?
Ps. Well written question with sample images provided. +1!

Sign in to comment.

Answers (3)

David Young
David Young on 7 Apr 2011
If you have the Image Processing Toolbox, have a look at using morphology operations to simplify the binary image into one blob. The 'close' option of bwmorph might be a good starting point.
Then to get the measurement, try the 'Perimeter' and 'Area' options of regionprops.

Prashan
Prashan on 7 Apr 2011
working on this now thank you for the support will keep you posted

Prashan
Prashan on 9 Apr 2011
so far i managed to get to this point how do i now calculate the perimter of this hand . ive got the left image using bmarea and the one on the left is when the image is closed. http://www.flickr.com/photos/60171113@N05/5602943214/ thank u
  1 Comment
David Young
David Young on 11 Apr 2011
Prashan, it's better to comment on my answer rather than give extra answers. Anyway, your image looks good - you should be able to get the perimeter easily using regionprops, with 'Perimeter' as the required property.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!