Multiply Images
This function block performs a pixel-wise multiplication of two input images and outputs the resulting image. It is useful for masking, combining exposures, or applying per-pixel weight maps.
π₯ Inputs
Image First image to multiply.
Image Second image to multiply.
(Inputs are read in order β first input is multiplied by second input.)
π€ Outputs
Image Resulting image after per-pixel multiplication.
πΉοΈ Controls
This block has no adjustable controls. The operation runs automatically when input images are provided.
βοΈ Running mechanism
The block accepts two images, compares them, and produces a new image where each output pixel is the product of the corresponding pixels from the two inputs.
Both input images must match in size. If they differ, the block will report an error and will not produce a valid output. Use an image resizer before this block when needed.
Typical uses include applying masks, combining per-pixel weights, or multiplying channels for specialized effects.
π― Features
Simple and fast per-pixel multiplication of two images.
Works with any image format accepted by the system (color or grayscale), provided both inputs share the same dimensions.
Produces a single image output ready for further processing or visualization.
π Usage Instructions
Connect the image you want to modify to the first
Imageinput.Connect the second
Image(mask, weight map, or second image) to the secondImageinput.Ensure both images have the same width and height. If they do not, add an image resizing step before this block.
The block outputs the multiplied image on the
Imageoutput for visualization or further processing.
π‘ Tips and Tricks
If images have different sizes, insert
Image Resize(orImage Resizer) before this block to match dimensions.To avoid unexpected brightness/overflow, consider preparing inputs with
Normalize Imageor scale one input usingDivide Imagesbefore multiplication.For blending or weighted combinations, try combining this block with
Add ImagesorAdd Images Weighteddepending on the desired effect.Use
Apply Maskto create a binary mask image and multiply it with a source image to quickly mask out regions.Preview results with
Show Imageand save results usingImage WriteorImage Loggerfor logging/export.
π οΈ Troubleshooting
Error about mismatched image sizes: ensure both inputs have identical width and height; use
Image Resizeto fix this.Unexpected brightness or clipping: normalize or scale inputs before multiplication (see
Normalize ImageandDivide Images).No output appears: verify that both input connections are providing valid image data and that the block is receiving active input.
Last updated