Nevzat Guler
2010-12-20 18:23:11 UTC
Hello,
I am trying to use image magick libraries in C++ source codes I already
have.More specifically: I have two images from the same source but they are
rotated, scaled, translated with respect to each other. I want to map the
second image onto the first image by determining the rotation, translation
parameters. I am thinking to use chi2 minimization after parametrizing all
differences between the two images and comparing them pixel by pixel. I
have my minimization routines written in C++, however, I am having trouble
rotating the image by an arbitrary angle. Please tell me how I can use, for
example, the rotation function directly in the code and compile. Currently,
I am not even able to find which code performs image rotation or 2D matrix
rotation. I appreciate your help,
- Nevzat
I am trying to use image magick libraries in C++ source codes I already
have.More specifically: I have two images from the same source but they are
rotated, scaled, translated with respect to each other. I want to map the
second image onto the first image by determining the rotation, translation
parameters. I am thinking to use chi2 minimization after parametrizing all
differences between the two images and comparing them pixel by pixel. I
have my minimization routines written in C++, however, I am having trouble
rotating the image by an arbitrary angle. Please tell me how I can use, for
example, the rotation function directly in the code and compile. Currently,
I am not even able to find which code performs image rotation or 2D matrix
rotation. I appreciate your help,
- Nevzat