input elevation on contor line of map

1 次查看(过去 30 天)
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?

采纳的回答

KSSV
KSSV 2017-10-25
As you have the locations i.e (x,y) values, your third i.e z value would be elevation.
  3 个评论
KSSV
KSSV 2017-10-25
编辑:KSSV 2017-10-25
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 2017-10-25
Thank you!! It is very useful for me :)

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 기하 변환과 영상 정합 的更多信息

Community Treasure Hunt

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

Start Hunting!