Establishment of vectors in 2D coordinate system based on 2D image
Afficher commentaires plus anciens
Dear all, I wish I could construct the coordinate system based on 2D image in Matlab.
I have a image as attached:

I wish I could find the vector of long axis for each object, like attached:

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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Images dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
