# Maximum Images

This function block is designed to create a new image by calculating the maximum pixel values from two input images pixel by pixel.

## 📥 Inputs <a href="#inputs" id="inputs"></a>

`Image Any` The first input image from which to extract pixel values.

`Image Any` The second input image from which to extract pixel values.

## 📤 Outputs <a href="#outputs" id="outputs"></a>

`Image Any` The output image that consists of maximum pixel values drawn from the input images.

## 🕹️ Controls <a href="#controls" id="controls"></a>

This function block does not have any specific controls as it operates purely based on the input images provided.

## 🎨 Features <a href="#features" id="features"></a>

`Pixel-wise Comparison` The ability to compare two images and create a resultant image based on the maximum pixel values ensures superior pixel preservation.

## 📝 Usage Instructions <a href="#usage" id="usage"></a>

1. **Input Images**: Connect two images to the inputs of this function block.
2. **Ensure Same Dimensions**: Verify that both input images have the same resolution. If they do not, use the `Image Resize` block to adjust one of the images to match the other.
3. **Evaluate**: Run the block to generate the output image that reflects the maximum values of the input images.

## 📊 Evaluation <a href="#evaluation" id="evaluation"></a>

When executed, the output will display a single image created from the maximum pixel values, effectively performing an element-wise maximum comparison.

## 💡 Tips and Tricks <a href="#tips-and-tricks" id="tips-and-tricks"></a>

<details>

<summary>Ensure Compatibility</summary>

Always confirm that both input images are of identical size. If necessary, use the `Image Resize` function block before this operation to adjust dimensions.

</details>

<details>

<summary>Use with Other Image Operations</summary>

Combining this function with other image processing blocks, such as `Minimum Images`, can provide comprehensive analysis and comparisons of images.

</details>

<details>

<summary>Visualizing Differences</summary>

To visualize differences after processing, consider using the `Show Image` function block to preview the resulting image easily.

</details>

## 🛠️ Troubleshooting <a href="#troubleshooting" id="troubleshooting"></a>

<details>

<summary>Image Size Mismatch</summary>

If you encounter an error indicating that the images must be the same size, check the dimensions of both input images. Adjust them using `Image Resize` if necessary.

</details>

<details>

<summary>No Output Image</summary>

If no output appears to be generated, ensure that both input connections are correctly linked and functional.

</details>
