Effacer les filtres
Effacer les filtres

input elevation on contor line of map

1 vue (au cours des 30 derniers jours)
Kwanghun Choi
Kwanghun Choi le 25 Oct 2017
Modifié(e) : KSSV le 25 Oct 2017
Hi there :). I wanna ask one question. I finally extract contour line from a map. then I have to input elevation value to make 3D model. I know that elevation of red point on image is 460m. But I don't know how to input that in certain pixel. please help me. How can I do?

Réponse acceptée

KSSV
KSSV le 25 Oct 2017
As you have the locations i.e (x,y) values, your third i.e z value would be elevation.
  3 commentaires
KSSV
KSSV le 25 Oct 2017
Modifié(e) : KSSV le 25 Oct 2017
I = imread('Inked20171025_130754_LI.jpg') ;
I1 = rgb2gray(I) ;
[y,x] = find(I1==88) ;
imshow(I)
hold on
plot(x,y,'.b')
(x,y) are the locations of red color in your image
Kwanghun Choi
Kwanghun Choi le 25 Oct 2017
Thank you!! It is very useful for me :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 조명, 투명도, 음영 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!