You're here: Home / OpenCV

OpenCV Examples for Operation on Images

Download these examples about OpenCV image operation basics. The package contains examples about: loading images, displaying images, retrieving image properties, converting the color space and accessing image's data. Read more

Template Matching with OpenCV

Template matching is a technique for finding small parts of an image which match a template image. Download this example on how to perform template matching with OpenCV. Read more

Display Video from Webcam

If you have a webcam attached to your computer, you can display video stream using OpenCV easily. Here's the basic code. Read more

Phase Correlation Function in OpenCV

Phase Correlation is a method to check the similarity of two images with equal size. It can be used for template matching, object tracking, motion estimation, etc. Read more

An Example on Using FFTW with OpenCV

Using FFTW to perform FFT operation in OpenCV is a good choice. This is an example on how to use FFTW with OpenCV. It simply loads an image, compute FFT & IFFT, then display the final result. The resulted image has no difference with the original, as it should. Read more

FFT with FFTW Example

FFTW is a collection of C routines for computing DFTs. It's very fast and freely available at http://www.fftw.org . Here's an example on how to compute the DFT of an array with FFTW and inverse the result back. Read more