Ask Your Question

Estimate the volume of a substance taken by a stereo camera

asked 2013-01-02 16:37:51 -0600

JosephWang gravatar image

I used the LG-P920 stereo cell phone to take the stereo image of a substance, let's say apple. I want to estimate the volume of this apple. Are there any functions/algorithms in OpenCV that can be used to roughly estimate the volume of such a substance? Thank you very much.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-01-02 23:07:00 -0600

Haris gravatar image

updated 2013-01-02 23:12:40 -0600

You can use OpenCV watershed for segmenting any object using marker. After segmention you can fond out the area of the object in pixels. You can find watershed.cpp demo in OpenCV samples directory.

edit flag offensive delete link more

Question Tools


Asked: 2013-01-02 16:37:51 -0600

Seen: 873 times

Last updated: Jan 02 '13