createVoronoi(centr​oids,imageFilename)

버전 1.1.0.0 (2.93 KB) 작성자: Audrey Cheong
Given a list of centroids, it computes the 2D/3D voronoi diagram.
다운로드 수: 969
업데이트 날짜: 2015/10/15

라이선스 보기

Given a list of centroids, it computes the 2D/3D voronoi diagram and extracts each Voronoi cell from the original image.
The voronoi diagram is calculated based on the Euclidean distance in 3D space.
centroid = [x1 y1 z1]
voxel = [x2 y2 z2]
for each voxel
Euclidean distance = sqrt((x2-x1)^2+(y2-y1)^2+(z2-z1)^2)
end
% Input:
% centroids - N x 3 matrix
% imageFilename - filename of image stack

인용 양식

Audrey Cheong (2024). createVoronoi(centroids,imageFilename) (https://www.mathworks.com/matlabcentral/fileexchange/41729-createvoronoi-centroids-imagefilename), MATLAB Central File Exchange. 검색됨 .

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

Community Treasure Hunt

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

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

Code cleanup and improve usability.
Minor modification to make it easier to use.

1.0.0.0