Image Analyzer examples

Help index


Correlation

The function Operations | Filters | User definded filter allows to calculate correlations of pictures. Striktly speaking it is a convolution because performed in spacial domain and not in frequency domain..

Example:

Find in this source image:

Source picture

the occurance of this detail:

detail image

Steps:

  1. Convert source image into map: Operations | Pixel format conversion | Convert to floating point map
  2. Convert detail image into map:  Operations | Pixel format conversion | Convert to floating point map
  3. Save detail image as map:   File | Save as | detailimage.map
  4. Perfom convolution: Operations | Filters | User defined filters | detailimage.map
  5. Wait. Don't be confused by the percentage progess indicator in bottom left corner. Preparation of calculation is performed within seconds (100%). The calculation may take minutes (this example) to hours (next example).
The left image shows the result of convolution calculation. The middle diagram is a 3D presentation. In the right image the contrast is adapted in order to identify the main spot.

Result of convolution

There are about 6 areas which resemble to the detail image. The spot near the center is the biggest one. And this is exacly the region where the detail image was taken from.

It is likely that you may first get a blank image. In this case adapt the black / white settings: map / complex representation / autoscale. In order to emphasize small differences it is necessary to set limits manually: map / complex representation / info gives minimum and maximum values. Specifying limits by settingmap / complex representation / color ranges results in the right presentation above. 

Autocorrelation

Following the same steps the program calculates autocorrelations. Please be aware that autocorrelation of pictures larger than 300px may take hours.

Example:

Find out how much the second image was moved in reference to the first one.

Autocorrelation

The red arrow marks the shift. It is the distance and direction by which the correlation peak in the third image is shifted from the center.

 
meesoft.logicnet.dk        Last updated 2007-11-17 by Andreas, Germany