Isocontour

버전 1.4.0.0 (3.59 KB) 작성자: Dirk-Jan Kroon
Find ISO-contour geometry in a 2D image using marching-squares, and sort the contour objects
다운로드 수: 4.7K
업데이트 날짜: 2024/4/22

라이선스 보기

This function ISOCONTOUR computes the isocontour geometry for a certain 2D image and isovalue. To Extract the isocontour geometry it uses Marching Squares and linear interpolation. Followed by sorting the contour geometry into separate contour-objects.
This function is the 2D equivalent of Isosurface extraction using Marching Cubes in 3D.
[Lines,Vertices,Objects]=isocontour(I,isovalue);
inputs,
I : An 2D image (grey-scale)
isovalue : The Iso-value of the contour
outputs,
Lines : An array describing all the Line-pieces of the isocontour
geomtery, with a N x 2 index list of vertices
Vertices : Vertices (Corners) of the lines M x 2 list of X,Y
coordinates
Objects : A 1 x K cell array with in every cell a list of indices
corresponding to one connect isocontour. If the isocontour
is closed then the last index value is equal to first index
value.

인용 양식

Dirk-Jan Kroon (2024). Isocontour (https://www.mathworks.com/matlabcentral/fileexchange/30525-isocontour), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2010b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Scalar Volume Data에 대해 자세히 알아보기

Community Treasure Hunt

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

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

Speedup sorting in objects

1.3.0.0

Changed sorting into objects from an n^2 time complexity algorithm into an n time complexity algorithm

1.1.0.0

Line normals now always point to the inside of the object.

1.0.0.0