Calculate and plot the principal axis - image processing
Version 1.0.0 (10.1 KB) by
DUY Nguyen
Calculate and plot the principal axis of a white object in a dark background image
PLOT_PRINCIPAL_AXIS - reads an image with white object and dark background, then calculates its principal axis passing through the centroid by this equation: tan(2θ) = 2mxy / (mx^2 - my^2)
Cite As
DUY Nguyen (2024). Calculate and plot the principal axis - image processing (https://www.mathworks.com/matlabcentral/fileexchange/125680-calculate-and-plot-the-principal-axis-image-processing), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2022b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0 |