Operation: compute difference

compute difference operation

Author:

Volker Bäcker

Example:

first input image    second input image    results table

Description

Calculate the average difference between two images. The two images must have the same size. The images are conerted to 8-bit images before the computation  is done. Pixels that are zero in one of the images are skipped. If you run the operation directly (not from an application), the first image is the active image. To give the user the possibility to select the second image the operation opens the wait button and stops until the presses it.

Options

The operation has no options.

Parameter

1. (ImagePlus) first image:        a 2-dimensional  image
2. (ImagePlus) second image:   a 2-dimensional  image

The two images must have the same size.

Results

1. (ResultsTable) difference:    a results table containing  the average difference between the two images.