BUILT-IN MATHEMATICA SYMBOL

# ImageMultiply

ImageMultiply[image, x]
multiplies each channel value in image by a factor x.

ImageMultiply[image1, image2]
gives an image in which each pixel is the product of the corresponding pixels in and .

## DetailsDetails

• The image returned by ImageMultiply[image, ...] has the same dimensions as image.
• If the image dimensions are different, ImageMultiply[image1, image2] multiplies into the center of .
• If or is a single-channel image, its values are multiplied by the values in each channel of the other image in ImageMultiply[image1, image2].
• If and are both multichannel images, the values in each channel are multiplied separately.
• In ImageMultiply[image, x], x can be a number, a color, or a list of color channel values.
• In ImageMultiply[image, x], the number x is normally in the range 0 to 1.
• ImageMultiply[image, x] gives an image with the same underlying data type as image, clipping or truncating values if necessary.
• ImageMultiply[image1, image2] gives an image with the largest type of either or , clipping or truncating values if necessary.
• For binary images, ImageMultiply effectively finds the logical AND of pixel values.
• ImageMultiply works with Image3D objects.

## ExamplesExamplesopen allclose all

### Basic Examples (3)Basic Examples (3)

Mask an image by multiplying it with a grayscale image:

 Out[1]=

Brighten an RGB image by multiplying all pixels with a constant factor:

 Out[1]=

Logical AND of two binary images:

 Out[1]=