|
|
As for the matlab code it goes like this:
3 _% e9 s2 ~' q c, n%-----------------------
* Z# V: Y2 A' j' D7 g: p YZ=... %read the range data into Z
: ^! ?& `; |$ H" f- {! _; CI=... %read the intensity images into I 4 {* o( F. [* G8 W" O, n8 J+ e9 K
Z2=medfilt2(Z,[7,7]); %median filtering
; b4 ?$ L+ x! Kfigure
$ p' ~, s1 M2 X2 h! T- h+ z) M" i6 Uwarp(Z2,I/max(max(I)),255) . }& V6 r, N- f6 j# c8 ^9 X
rotate3D
& W8 H( J8 Q% w( `' [7 R( utitle('Intensity warped on Range')
8 U. \1 Y3 X5 u- s+ z%----------------------
4 x* v$ P+ }" Y( c4 p7 d N7 ^' ISee also the example in >>help warp (in matlab) |
|