Image2Dvectors
Version 1.1 (15.4 KB) by
Bhavna Rajasekaran
Image2Dvectors returns the 2D eigenvector, eigenvalue of a binary image using central Moments computed on a sub-image
The code requires the following properties that are output of 'regionprops' Matlab's inbuilt image processing function.
Centroid2Dposition,RegionImage,Pixel2DCoordinates,BoundingBoxcoordinates
The 2D eigenvector and correponding eigenvalue of the binary image are computed using image central moments.
The code has been modified to handle multiple binary objects within a binary image.
For multiple binary objects within an image, an additonal for loop is required.
Cite As
Bhavna Rajasekaran (2024). Image2Dvectors (https://www.mathworks.com/matlabcentral/fileexchange/98894-image2dvectors), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021a
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.