필터 지우기
필터 지우기

input elevation on contor line of map

조회 수: 1 (최근 30일)
Kwanghun Choi
Kwanghun Choi 2017년 10월 25일
편집: KSSV 2017년 10월 25일
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!