Visualize area of multiple shapes

版本 1.0.0.0 (107.2 KB) 作者: Vlad Atanasiu
Measure and visualize the area of each individual shape in a binary image.
3.6K 次下载
更新时间 2005/3/24

查看许可证

This is an extension of the Image Processing Toolbox functions BWAREA and REGIONPROPS. On one hand BWAREA allows for two types of area measurements ('digital', or sum of pixels and 'analog'), but cumulates into a single value the areas of all non-connected shapes in an image; while on the other hand REGIONPROPS gives the area of all shapes individually, but expressed only in the 'digital' mode. The present function - BWAREAN - provides individual measurements of both types. In addition to its use as a measuring tool, BWAREAN helps the visualization of the results by generating an image in which each shape is labeled with the value of its area (similar to BWLABEL). Type BWAREAN_DEMO; at Matlab prompt with image file textsample.png in the working directory.

引用格式

Vlad Atanasiu (2024). Visualize area of multiple shapes (https://www.mathworks.com/matlabcentral/fileexchange/7068-visualize-area-of-multiple-shapes), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Optimized code