|
|
As for the matlab code it goes like this:
' ~2 i" O/ v9 z, q: Y2 Y%-----------------------
/ p, T& A7 p, N& Q$ J9 ^& FZ=... %read the range data into Z
, d* Q) P: M1 \* g# a5 \3 \I=... %read the intensity images into I
9 o, _- k5 H& p1 B* LZ2=medfilt2(Z,[7,7]); %median filtering
- f/ D5 ~( W( J% |9 R8 ^figure
# d* |9 a& W- F9 C: z1 Z3 D+ C$ |, Wwarp(Z2,I/max(max(I)),255) - H) H4 q0 A+ k, L# |' K6 U6 g
rotate3D
% J) l! |% I7 ~" i7 q7 A8 otitle('Intensity warped on Range')
( R# G0 S$ ^6 N# f7 X%---------------------- 4 T( [2 o- C o
See also the example in >>help warp (in matlab) |
|