Hi,
I am new to IPP library and c++, I am working on a small task where I need to input the source image and the template image path to the application, and the application should display the offset of the source wrt to the template image.
I am aware I need to use the ippiCrossCorr functions. But I am not sure how to get the parameters for the function
Please can somebody help me on this.
Thanks in Advance!
Sribug
Link Copied
Paul,
Thanks for the reply. I think I conveyed the message little differently. I am aware of the pointer concepts in c/c++.. and I have working on it for quite sometime. I am new to using IPP and needed a little help on that.
As I need to correlate a sub image with the template image and find the offset of the sub image wrt the template image. The images are in tiff format.
I used a open source which would read the properties of a tiff image and copied into the image buffer.
I passed the image buffer and bytesteps of both the images to ippiCrossCorrFull_Norm_8u_C1RSfs.
The correlation returned no error.
Now, I need to find the offset of the subimage wrt to the template image. How do I go forward from here with the Destination image where the correlation values are stored.
Please help.
Thanks in Advance
At this moment the approach I am thinking about for this algorithm is:
Divide the search area into the areas of size given by the user(width and height). Then correlate each area with the others in the search area. The one with the least correation can be the unique area for that image.
It is just a rough idea I have, Can someone help me with some suggestions and approaches.
Thanks in Advance
For more complete information about compiler optimizations, see our Optimization Notice.