Effacer les filtres
Effacer les filtres

How to indicate this data.?

2 vues (au cours des 30 derniers jours)
Lalit Patil
Lalit Patil le 16 Fév 2013
This are two 3D data files..
point = dlmread('N3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'r.')
rotate3d on
point = dlmread('3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'g.')
rotate3d on
I am reading this both using above code.
Now, line image created by N3d.txt have space between it if we compare it with 3d.txt file on same graph.
So, how to differentiate that space with another colour..? (I want to indicate it with another colour)

Réponses (1)

Cedric
Cedric le 16 Fév 2013
Try with this:
figure(1) ;
clf ;
hold on ;
rotate3d on ;
point = dlmread('N3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'r.')
point = dlmread('3d.txt');
plot3(point(:,1),point(:,2),point(:,3),'g.')
  5 commentaires
Cedric
Cedric le 16 Fév 2013
Modifié(e) : Cedric le 16 Fév 2013
You'll find plenty of tools for fitting lines (just look up for fit line 3d for example) and for computing euclidean distance between points/lines, but how do you define the "dimension" of a pixel in what you are trying to do?
Lalit Patil
Lalit Patil le 16 Fév 2013
Modifié(e) : Lalit Patil le 16 Fév 2013
Ok.. I have done a fitting using iterative closest point algorithm. So, they are getting overlap on each other, and giving rotational and translational parameters. overlapped image is attached here,
And maximum allowable euclidean distance is 3 between two rows.

Connectez-vous pour commenter.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by