Image Calculator...

Performs arithmetic and logical operations between two images selected from popup menus.Image1or both theImage1andImage2can be stacks. If both are stacks, they must have the same number of slices.Image1andImage2must be the same data type but do not have to be the same size.

AND img1= img1 AND img2 OR img1 = img1 OR img2 XOR img1 = img1 XOR img2 Min img1 = min(img1,img2) Max img1 = max(img1,img2) Average img1 = (img1+img2)/2 Difference img1 = |img1-img2| Copy img1 = img2 Some examples with two images:

result with "AND":

result with "OR":

result with "XOR":

result with "Difference":

TopAND...

Does a bitwise AND of the image and the specified binary constant.OR...

Does a bitwise OR of the image and the specified binary constant.XOR...

Does a bitwise XOR of the image and the specified binary constant.Flip Vertical

Turns the image or selection upside down.Flip Horizontal

Replaces the image or selection with a mirror image of the original.

Rotate 90 Degrees Right

Rotates the entire image or stack clockwise 90 degrees.

Rotate 90 Degrees Left

Rotates the entire image or stack counter-clockwise 90 degrees.

Arbitrarily...

Use this dialog to rotate the active image or selection clockwise the specified number of degrees. CheckInterpolateto use bilinear interpolation.

Top

Translation>

Translate the active image or stack.The values of translation on X and Y are specified in the popup menus.