From: Michael Giacomelli on 4 Feb 2010 19:45 This is probably a stupid question, but I understand that you can do something like: [B,xdata,ydata] = imtransform(tform, tform, 'bicubic', ... 'udata', udata,... 'vdata', vdata) To define the input image coordinates when applying imtransform. I can then use this to define a rotation about various points in the image. But lets say I want to define a transform earlier in my program with the image coordinates built in. Is it possible to define U,V when calling maketform? Reason I ask is i'd like to change the above imtransform to use default values, and then specify what points I'm transforming about when I make the the 'tform' struct. This way i can pass in a bunch of tform structs to my code and process images later on.
|
Pages: 1 Prev: Why does FFT(x) must be divided by number of samples, i.e. Next: Binary integer programming |