Establishment of vectors in 2D coordinate system based on 2D image
1 view (last 30 days)
Show older comments
Dear all, I wish I could construct the coordinate system based on 2D image in Matlab.
I have a image as attached:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/510922/image.jpeg)
I wish I could find the vector of long axis for each object, like attached:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/510927/image.jpeg)
My thought is to use the different pixel information to specify the objects, but I'm not sure how to implement it.
I established coordinate system via following command
clear
clc
close all
A=imread('2D_try.jpg')
A=gpuArray(A)
B=imshow(A)
C=impixelinfo(B)
Could you give me a comment or suggestion?
Wish all of you have a nice weekend!
Sincerely
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Feature Detection and Extraction in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!