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.
引用格式
Bhavna Rajasekaran (2024). Image2Dvectors (https://www.mathworks.com/matlabcentral/fileexchange/98894-image2dvectors), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2021a
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!