Re: How to speed up conv2 ?
- From: "Dave Robinson" <dave.robinson@xxxxxxxxxxxxx>
- Date: Wed, 31 May 2006 12:16:38 -0400
Daniel Mark wrote:
Hello all:
I got the following method to speed up the two-dimension
correlation
calculation, but I need helps to implement it in matlab.
A two-dimensional correlation calculation over a large image is
very
time-consuming,
and to overcome this, we can do the correlation in the frequency
domain by multiplying the
two-dimensional FFTs the Hermitian template and the image, then
took
the inverse FFT
to obtain the output image.
Anyone can help?
THank you very much
-Daniel
If your 2D matrix contain integer pixels, and you own an INTEL based
processor, check out the Image Processing Toolbox function imfilter.
Apparently if you meet the above requirements, the function
subcontracts the processing to code implemented using the INTEL IPP
which uses both the MMX and SIMD processors buried in the Pentium, so
it should go like a bat out of hell, as it will be processing 8
pixels in parallel.
Hope this is of some use to you
Dave Robinson
.
- References:
- How to speed up conv2 ?
- From: Daniel Mark
- How to speed up conv2 ?
- Prev by Date: Re: Looking for function that only updates axes in GUI
- Next by Date: Re: Doubt regarding "imfill" function from "DIP using Matlab" textbook
- Previous by thread: How to speed up conv2 ?
- Next by thread: Re: How to speed up conv2 ?
- Index(es):
Relevant Pages
|