Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COHey, this sounds very interesting. You got any implemented piece of code for this ? Also, how different is it from openCV's 4th algorithm (method=CV_TM_CCORR_NORMED) in this (http://docs.opencv.org/doc/tutorials/imgproc/histograms/template_matching/template_matching.html#which-are-the-matching-methods-available-in-opencv) link? Can you please explain?
      singulars
    2. COI haven't worked on this for over a year now, so pardon if I'm a little rusty on this. I was able to dig up the code for this though: [link](http://pastebin.com/eZDRpmDm). That should be the essential part of it I think. The main difference is that my version pre-multiplies template image and the respective part of the target image by the template's alpha value. This makes more transparent pixels contribute less to the matching process. You can see the difference when you compare C_{T,I} (which is CV_TM_CCORR_NORMED) with C_{alpha,T,I}.
      singulars
    3. COThank you very much for the help. I have never used CUFFT, but I was using openCV till now. Can you please tell me what all additional header_files and sources are needed for successfully compiling the above code. Also, what is the trick in premultiplying the target image again withe same alpha. How will that help us really, as we are really losing some info there? I want to learn some concept (of FFT's in Image Processing) regarding this implementation. Please give me some good pointers. Thanks in advance.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload