Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

matlab programming help

Status
Not open for further replies.

intan

Member level 2
Member level 2
Joined
Feb 16, 2009
Messages
53
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,931
in the doc, i hv a picture with edge detecting. i wan to knw hw to get the area of the person? its equal to the number of the pixel rite? really appreciate ur help. thanks
 

Attachments

  • pic.doc
    84 KB · Views: 49

the number of the pixel inside the edges is only an approximate value of the area.
you may take the "scale" issue in count. if you change the camera view of distance to the person, then the area will differ.
On the other hand, when you change the size of the picture (zoom or shrink or change in resolution) the number of pixels will change.
 

You can try using connected component labelling - bwlabel() to find all the unique objects in the image.

Then use regionprops() to find the area of the object of interest.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top