Feret diameter and oriented box
Two functions for working with the Feret diameter of labelized particles in images.
The function imFeretDiameter computes the Feret diameter for each one of the specified directions. The maximal diameter can be obtained by computing the max of the result.
The function imOrientedBox computes Feret diameter for several directions, and keep the direction that produces the minimal-area enclosing rectangle. The function drawOrientedBox can be used for visualising result.
Both functions could easily be adapted to a set of points.
Zitieren als
David Legland (2024). Feret diameter and oriented box (https://www.mathworks.com/matlabcentral/fileexchange/30402-feret-diameter-and-oriented-box), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- Image Processing and Computer Vision > Image Processing Toolbox > Image Filtering and Enhancement > Neighborhood and Block Processing >
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.
imFeretDiameters/
imFeretDiameters/html/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | enhance precision, add psb to specify spatial calibration, and to computes diameter or box only for specific labels |
||
1.0.0.0 |