- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

I may have missed something but i would like to use the ipp library to preform a 2D crosscorrelation.

So first question is does this function CrossCorrFull_Norm in the image library do that?

I am assuming no.

If not what is the shortest route to get the 2D cross-correlation of a region of two images using ipp?

Link Copied

4 Replies

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

**ippiCrossCorr_Norm()**function allows you to compute the // cross-correlation of an image and a template (another image). // The cross-correlation values are image similarity measures: the // higher cross-correlation at a particular pixel, the more // similarity between the template and the image in the neighborhood // of the pixel. If IppiSize's of image and template are Wa * Ha and // Wb * Hb correspondingly, then the IppiSize of the resulting // matrice with normalized cross-correlation coefficients will be // a) in case of 'Full' suffix: // ( Wa + Wb - 1 )*( Ha + Hb - 1 ). // b) in case of 'Same' suffix: // ( Wa )*( Ha ). // c) in case of 'Valid' suffix: // ( Wa - Wb + 1 )*( Ha - Hb + 1 ). // Notice: // suffix 'R' (ROI) means only scanline alingment (srcStep), in // 'Same' and 'Full' cases no any requirements for data outstand // the ROI - it's assumes that template and src are zerro padded. ... Note: There are many

**ippiCrossCorr_xxx()**functions in IPP and some issues were detected with some functions in the past ( here are records from my test-cases ): ... // Sub-Test 03 - Rounding issue with 'ippiCrossCorrFull_NormLevel_32f_C1R' function ... // Sub-Test 11 - Problem with 'ippiCrossCorrValid_NormLevel_8u32f_C1R' function ... Unfortunately, I'm not sure if these problems could be reproduced in the latest edition of IPP library ( I don't have time to re-test it ).

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

**ippiCrossCorr_Norm()**function allows... I just realized that it is a little bit confusing. So, in your case you need to look at: >>... >>//

**a) in case of 'Full' suffix**: >>... part.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page