matlab 3d projection image -
i'm doing image 3d projection, when use iwarp function result multidimensional matrix, i'm using:
color1 = imread('color1.jpg') % 480x640x3 image rbg %4x4 projection matrix mx = makehgtform('xrotate',-0.01970); = makehgtform('yrotate',0.01729); mz = makehgtform('zrotate',-0.00717); m = mx*my*mz; m(1,4) = -28.54007; m(2,4) = -2.00470; m(3,4) = 4.37353; t = affine3d(m); %do transform color_rectified = imwarp(color1,t); %485x644x24
at end, color_rectified size 485x644x24, idea image rotated/translated in x,y,z , rgb, how this?
Comments
Post a Comment