imMinkowski

버전 1.6 (221 KB) 작성자: David Legland
Measure of geometric parameters in 2D or 3D images (surface area, perimeter, Euler Number...)
다운로드 수: 4.6K
업데이트 날짜: 2021/1/11

라이선스 보기

Contains various functions for measuring or estimating geometric quantities from 2D or 3D images.

Parameters available for 2D images are:
* the area (number of pixels)
* the perimeter (based on Crofton formula)
* the(2D) Euler Number

Parameters available for 3D images are:
* the volume,
* the surface area (measured using the Crofton formula),
* the surface area of the interface between two labels
* the mean breadth (also known as integral of mean curvature),
* the (3D) Euler Number

Most functions work both for binary and label images. It is possible to specify options (connectivity for Euler Number, number of directions for perimeter or surface area), as well as the spatial calibration of images. For some parameters, it is also possible to estimate the density with respect to image area or volume.

Example 1: measure perimeter in 2D label image
lbl = bwlabel(imread('coins.png') > 100);
p = imPerimeter(lbl)
p =
184.8668 154.9495 185.1921 267.1690 187.3183 179.5038 182.7406 180.8445 155.5049 155.5049

Example 2: measure surface area in 3D binary image
img = analyze75read(analyze75info('brainMRI.hdr'));
bin = imclose(img>0, ones([5 5 3]));
S = imSurface(bin, [1 1 2.5]) % specify resolution
ans =
2.7291e+004

The latest development version can be found on GitHub within the MatImage project: http://github.com/mattools/matImage .

These functions were developped when writing the following article:
Legland, D.; Kiêu, K. & Devaux, M.-F. Computation of Minkowski measures on 2D and 3D binary images. Image Anal. Stereol., 2007, 26, 83-92, http://www.ias-iss.org/ojs/IAS/article/view/811.

Following reference can also be of interest:
Joachim Ohser and Frank Muecklich (2000) Statistical Analysis of Microstructures in Material Sciences, John Wiley and Sons.

인용 양식

David Legland (2024). imMinkowski (https://www.mathworks.com/matlabcentral/fileexchange/33690-imminkowski), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2020a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
도움

도움 받은 파일: geom3d, geom2d

도움 준 파일: Areal, volumetric and textural parameters from 2D and 3D images

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.6

update management of label images;
rename imSurface to imSurfaceArea;
various code cleanup.

1.5.0.0

update dependencies, added imProjectedArea.m and imProjectedDiameter.m

1.4.0.0

Added support for computation of mean breadth density, and of look-up tables for several parameters. Default number of directions for computing surface area is 13, resulting in more accurate results.

1.3.0.0

improve management of label images: add psb to compute functionals only on specific labels, and enhance automatic detection of labels in image

1.1.0.0

fix some bugs in imPerimeterDensity and imSurface, add imJointSurface

1.0.0.0