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