ImageMultiply
gives an image in which each pixel is the product of the corresponding pixels in image1 and image2.
multiplies all expri with image, where each expri can be either an image, a number, or a color value.
Details

- The image returned by ImageMultiply[image,…] has the same dimensions as image.
- In ImageMultiply[image,x], x can be a number normally in the range 0 to 1, a color, or a list of color channel values.
- ImageMultiply[image,x] typically gives an image with the same underlying data type as image, clipping or truncating values if necessary. »
- If the image dimensions are different, ImageMultiply[image1,image2] multiplies image2 into the center of image1.
- If image1 or image2 is a single-channel image, its values are multiplied by the values in each channel of the other image in ImageMultiply[image1,image2].
- If image1 and image2 are both multichannel images, the values in each channel are multiplied separately.
- ImageMultiply[image1,image2] gives an image with the largest type of either image1 or image2, clipping or truncating values if necessary.
- For binary images, ImageMultiply effectively finds the logical AND of pixel values.
- ImageMultiply[image,expr1,expr2,…] folds ImageMultiply on the list of arguments.
- ImageMultiply[{image,expr1,expr2,…}] is equivalent to ImageMultiply[image,expr1,expr2,…].
- ImageMultiply works with Image3D objects.
Examples
open allclose allBasic Examples (4)Summary of the most common use cases
Mask an image by multiplying it with a grayscale image:

https://wolfram.com/xid/0b8dfyy43o-bom9vh

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

https://wolfram.com/xid/0b8dfyy43o-7yxo5q

Logical AND of two binary images:

https://wolfram.com/xid/0b8dfyy43o-2iiroe


https://wolfram.com/xid/0b8dfyy43o-eyx75c

Applications (5)Sample problems that can be solved with this function
Create a division operator, typically used for detecting motion:

https://wolfram.com/xid/0b8dfyy43o-vmnbaf

https://wolfram.com/xid/0b8dfyy43o-v037fq


https://wolfram.com/xid/0b8dfyy43o-wvq9hp


https://wolfram.com/xid/0b8dfyy43o-h7tdlv

Colorize channels of an image:

https://wolfram.com/xid/0b8dfyy43o-yy8kzs


https://wolfram.com/xid/0b8dfyy43o-bz0nfu

https://wolfram.com/xid/0b8dfyy43o-ynxwkz

Multiply a color and a grayscale image to create a composition:

https://wolfram.com/xid/0b8dfyy43o-murxiy

Wolfram Research (2008), ImageMultiply, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageMultiply.html (updated 2014).
Text
Wolfram Research (2008), ImageMultiply, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageMultiply.html (updated 2014).
Wolfram Research (2008), ImageMultiply, Wolfram Language function, https://reference.wolfram.com/language/ref/ImageMultiply.html (updated 2014).
CMS
Wolfram Language. 2008. "ImageMultiply." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ImageMultiply.html.
Wolfram Language. 2008. "ImageMultiply." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/ImageMultiply.html.
APA
Wolfram Language. (2008). ImageMultiply. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageMultiply.html
Wolfram Language. (2008). ImageMultiply. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/ImageMultiply.html
BibTeX
@misc{reference.wolfram_2025_imagemultiply, author="Wolfram Research", title="{ImageMultiply}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/ImageMultiply.html}", note=[Accessed: 19-June-2025
]}
BibLaTeX
@online{reference.wolfram_2025_imagemultiply, organization={Wolfram Research}, title={ImageMultiply}, year={2014}, url={https://reference.wolfram.com/language/ref/ImageMultiply.html}, note=[Accessed: 19-June-2025
]}