Minimum Images
This function block creates a new image by taking the pixel-wise minimum of two input images. It is useful when you want to keep the darker (lower-value) pixels from two images combined into a single result.
π₯ Inputs
Image AnyFirst image (input socket)Image AnySecond image (input socket)
Note: Both inputs must have the same resolution and number of channels.
π€ Outputs
Image AnyResulting image where each pixel is the minimum of corresponding pixels from the two inputs (output socket)
πΉοΈ Controls
No controls The block runs its operation automatically once inputs are provided.
π¨ Features
Produces a single image that keeps the lower pixel values from the two inputs.
Works on color and grayscale images as long as both inputs share the same shape.
Lightweight and deterministic β useful as a simple fusion or masking step.
π Usage Instructions
Provide two images of the same size and channel layout to the two inputs.
The block outputs a single image where each pixel is the minimum of the two inputs.
Use the resulting image for further analysis, visualization, or export.
π Evaluation
When evaluated, the block inspects corresponding pixels from the two provided images and outputs an image composed of the smaller pixel values at each location.
π‘ Tips and Tricks
If your images differ in size, use the
Image Resizeblock before this block to match resolutions.To compare results visually, connect the output to the
Show Imageblock.To save results for later review, send the output to
Image LoggerorImage Write.For combining brightness-focused operations, try using
Maximum Imagesas a complementary step (keeps brighter pixels instead).If you need to merge several images, use
Batch Concatenationor process pairs in a loop with flow-control blocks.
π οΈ Troubleshooting
If you see an error or unexpected result, confirm both inputs have identical width, height, and number of channels.
If colors look incorrect, ensure both images use the same color ordering (e.g., RGB vs BGR) and channel count.
Use
Image ResizeorSplit Image/Merge Channelsto prepare inputs before using this block.
Last updated
Was this helpful?