The package allows to compute equivalent ellipse or ellipsoid from 2D/3D images. Both functions works for binary or label image (one result per label), or for intensity images (resulting ellipse / ellipsoid is weighted by image intensity).
The function "imEquivalentEllipsoid" computes moments of the 3D image or labels, and returns the associated equivalent 3D ellipsoid. The function is similar to that obtained with the "regionporps" function, but with slightly different scaling coefficients. The function "drawEllipsoid" can be used to display result.
The function "imEquivalentEllipse" computes moments of the 2D image or labels, and returns the associated equivalent ellipse. The function "drawEllipse" can be used to display result.
The package includes functions from the geom2d and geom3d contributions. This package is a subset of the matImage toolbox (available at https://github.com/mattools/matImage )
Zitieren als
David Legland (2024). image ellipsoid 3D (https://www.mathworks.com/matlabcentral/fileexchange/34104-image-ellipsoid-3d), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
imEllipsoid
imEllipsoid/demos
imEllipsoid/private
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | renamed functions, added method documentation |
||
1.0.0.0 |