c++ - How to do un-normalized 2D Cross Correlation in IPP -
i'm doing c++ optimization work , have need of plain vanilla version of cross correlation without mean offset or normalization scaling operations. know under normal circumstances image data influence of brightness removed using above means structural similarity can discerned in our application brightness needed. i'm using ipp 7.1, know if there's means this? next best thing i'll have write loops manually , exploit simd autovectorization openmp parallelization.
yes, of course, there available crosscorr functions without normalization - take @ ippi.h:
ippapi( ippstatus, ippicrosscorrvalid_32f_c1r, ( const ipp32f* psrc, int srcstep, ippisize srcroisize, const ipp32f* ptpl, int tplstep, ippisize tplroisize, ipp32f* pdst, int dststep )) ippapi( ippstatus, ippicrosscorrvalid_8u32f_c1r, ( const ipp8u* psrc, int srcstep, ippisize srcroisize, const ipp8u* ptpl, int tplstep, ippisize tplroisize, ipp32f* pdst, int dststep )) ippapi( ippstatus, ippicrosscorrvalid_8s32f_c1r, ( const ipp8s* psrc, int srcstep, ippisize srcroisize, const ipp8s* ptpl, int tplstep, ippisize tplroisize, ipp32f* pdst, int dststep )) ippapi( ippstatus, ippicrosscorrvalid_16u32f_c1r, ( const ipp16u* psrc, int srcstep, ippisize srcroisize, const ipp16u* ptpl, int tplstep, ippisize tplroisize, ipp32f* pdst, int dststep ))
regards, igor
Comments
Post a Comment