Establishment of vectors in 2D coordinate system based on 2D image
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Images en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
