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
6 Downloads
Updated 5 Mar 2023

View License

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 Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0