|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
As for the matlab code it goes like this:
, ~% |: N+ U. W3 s% [%----------------------- - ?4 N; P7 u0 ]" K
Z=... %read the range data into Z
& ^: d2 M* z# S! O; k# l6 mI=... %read the intensity images into I # _* b, P R# z+ m, b5 R9 f& g
Z2=medfilt2(Z,[7,7]); %median filtering
2 a, C+ }- R2 N9 W% r3 s2 vfigure ; W+ g& x* t& j) V8 Q6 F
warp(Z2,I/max(max(I)),255)
7 h" \" d/ q2 d( R% k8 j. Drotate3D
1 g) r& R9 O+ Ptitle('Intensity warped on Range') ! e/ L! d6 r$ G/ A% w
%---------------------- 3 s: l3 P4 X! s- i3 i& E
See also the example in >>help warp (in matlab)
" k n% {3 U/ e9 i1 v+ \. H/ o! W |
|