How do I calculate the area under a curve in an image with MATLAB?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-06-04T12:17:43Z Indexed on 2010/06/15 15:42 UTC
Read the original article Hit count: 110

Filed under:
|

alt text

The unit of x-axis is hours (h), and there are 24 hours in total.

The unit of y-axis is millions (m).

How do I calculate the area under the red curve in the image in units of m*h?

Important UPDATE

Only the image is readily available (not the data), and I want to calculate the area programmatically.

© Stack Overflow or respective owner

Related posts about matlab

Related posts about image-processing