Image Resolution and Channel Value
This function block allows you to retrieve the resolution and channel information of an input image. It displays the width, height, and the number of channels contained in the image.
📥 Inputs
Image Any
An image whose resolution and channel count you wish to determine.
📤 Outputs
Width
The width of the image in pixels.
Height
The height of the image in pixels.
Channel
The number of channels in the image (e.g., 1 for grayscale, 3 for RGB).
🕹️ Controls
Resolution
A label displaying the current resolution and channel count of the input image.
🎨 Features
Dynamic Resolution Update
The block updates the displayed resolution and channel information in real time based on the input image.
Support for Various Image Formats
Can handle both monochrome (grayscale) and color images effectively.
📝 Usage Instructions
Connect Input Image: Link an image-producing function block to the
Image Any
input.Evaluate: Execute the function block to receive the image width, height, and channel count.
Review Results: The
Resolution
label will show the current resolution in the format<Width>x<Height> Channel:<Channel Count>
.
📊 Evaluation
The function block processes the input image to extract and return the width, height, and channel count, updating the label with this information.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated