Prev: How to enlarge the Memory available for all arrays
Next: matlab-delphi integration for optimization
From: Victor Lee on 2 Mar 2010 23:22 Hi, Need a little help in image transformation. I've acquired my six-parameter affine coef and created a transformation matrix using maketform. I know I can use the imtransform to warp my image(forward warping) then but how do I perform an backward warping?? Correct me if I get any theory wrong. th = 0.8038 0.0054 0 0.1223 0.9398 0 -11.7433 7.4572 1.0000 MF = maketform('affine',th); img1 = imtransform(img, MF); Thanks Victor
From: Steve Eddins on 3 Mar 2010 07:13 Victor Lee wrote: > Hi, > > Need a little help in image transformation. I've acquired my > six-parameter affine coef and created a transformation matrix using > maketform. I know I can use the imtransform to warp my image(forward > warping) then but how do I perform an backward warping?? Correct me if I > get any theory wrong. > > th = > 0.8038 0.0054 0 > 0.1223 0.9398 0 > -11.7433 7.4572 1.0000 > > MF = maketform('affine',th); > img1 = imtransform(img, MF); > > Thanks Victor Try using fliptform. --- Steve Eddins http://blogs.mathworks.com/steve/
From: Victor Lee on 8 Mar 2010 05:12 Steve Eddins <Steve.Eddins(a)mathworks.com> wrote in message <hmljpm$cdh$1(a)fred.mathworks.com>... > Victor Lee wrote: > > Hi, > > > > Need a little help in image transformation. I've acquired my > > six-parameter affine coef and created a transformation matrix using > > maketform. I know I can use the imtransform to warp my image(forward > > warping) then but how do I perform an backward warping?? Correct me if I > > get any theory wrong. > > > > th = > > 0.8038 0.0054 0 > > 0.1223 0.9398 0 > > -11.7433 7.4572 1.0000 > > > > MF = maketform('affine',th); > > img1 = imtransform(img, MF); > > > > Thanks Victor > > Try using fliptform. > > --- > Steve Eddins > http://blogs.mathworks.com/steve/ Thanks Steve. I've tried it. How do I use the inverse function for the 'maketform' function? MATLAB help does says it has but no examples how to apply it. Thanks
|
Pages: 1 Prev: How to enlarge the Memory available for all arrays Next: matlab-delphi integration for optimization |