File Exchange

image thumbnail

Surface areas of contour

version 1.0 (1.25 KB) by

This function outputs surface areas within each contour and their heights.



View License

[ A ] = ContourArea( C )
C is a 2*n matrix corresponding to the output of the low-level contourc function. A is a 2*m matrix, the first line corresponding to the m heights specified in C and the second line corresponding to the output of Polyarea of each contour.

This function is straight forward and is no rocket science. Could be improved by adding as input the number of contours for vectorization.

Comments and Ratings (0)

MATLAB Release
MATLAB 7.14 (R2012a)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today