For the complete documentation index, see llms.txt. This page is also available as Markdown.

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 Any First image (input socket)

  • Image Any Second image (input socket)

Note: Both inputs must have the same resolution and number of channels.

📤 Outputs

  • Image Any Resulting 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

  1. Provide two images of the same size and channel layout to the two inputs.

  2. The block outputs a single image where each pixel is the minimum of the two inputs.

  3. 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 Resize block before this block to match resolutions.

  • To compare results visually, connect the output to the Show Image block.

  • To save results for later review, send the output to Image Logger or Image Write.

  • For combining brightness-focused operations, try using Maximum Images as a complementary step (keeps brighter pixels instead).

  • If you need to merge several images, use Batch Concatenation or 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 Resize or Split Image / Merge Channels to prepare inputs before using this block.

Last updated