Compare Images

Compares two images or two image sets.

Input

Two single images with the same number of channels, or two image sets with the same number of images. Each image from the first image set must have the same number of channels as the corresponding image in the second image set.

Output

None, if the images (image sets) are equal, otherwise an image (an image set) representing the difference between the first and the second image (image set).

Description

Input is two single images. If the second input image has different size than the first input image, then it is resampled to match the first input image. The output image is created by taking the difference between the first input image and the second. Intensity scales and shifts of the images are taken into account. The statistics of the image difference such as mean/max difference will be displayed in the log window. If two input images are equal, no output image is generated.

Input is two sets of images. The images from the first image set are compared to the images of the second image set in a pair-wise fashion (i.e. first image from the first image set is compared to the first image from the second set, second image from the first set is compared to the second image from the second set and so on). The comparison of each image pair is performed the same way as comparison of two single images described above.