Non-zero of Image
This function block calculates the total number of non-zero pixels in a given image, providing useful insights into the image content.
📥 Inputs
Image Any
The image from which to count the non-zero pixels.
📤 Outputs
Count
The total number of non-zero pixels in the image.
🎨 Features
Image Analysis
This block allows users to quickly assess pixel data within an image by counting active (non-zero) pixels.
📝 Usage Instructions
Connect Image Source: Link an image to the input via the
Image Any
socket. It can be either a grayscale or color image.Evaluate: Run the block to compute the count of non-zero pixels in the input image.
Retrieve Count: Access the
Count
output to view the total number of non-zero pixels.
📊 Evaluation
When executed, this function block processes the input image, returning the total count of non-zero pixels.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated