Calculate and plot the principal axis - image processing

Calculate and plot the principal axis of a white object in a dark background image

You are now following this Submission

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 (2026). 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 .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0