Std. of Image
This function block computes the standard deviation of pixel values in an image (range 0β255) and displays the result in its interface. It is useful for assessing image contrast, noise level or overall brightness variation.
π₯ Inputs
Image Any This input socket accepts any image (grayscale or color). Provide the image you want analyzed.
π€ Outputs
Standard Deviation This output socket delivers a single numeric value: the standard deviation of the image pixel values.
πΉοΈ Controls
This function block has no interactive controls. It updates its displayed value automatically when image input is provided.
π― Features
Quick numeric feedback on image variability (contrast/noise).
Live update of displayed value when a new image is provided.
Works with both grayscale and color images (produces a single summary number).
π Usage
Connect an image-producing block to the
Image Anyinput. Examples:Camera USB,Load Image, orVideo.Read the computed value from the
Standard Deviationoutput or from the block's on-screen label.Use the value to trigger logic, logging or visualization (for example, warn if image is too uniform or too noisy).
βοΈ Evaluation
When the scenario runs and an image arrives at the input, the block calculates the standard deviation of pixel intensities and outputs the numeric result while also updating its display.
π‘ Tips and Tricks
For clearer statistics on a specific area, crop first with
Image ROIorImage ROI Selectand feed the cropped image to this block.To reduce noise impact before measuring, preprocess with
BlurorDenoisingand then measure the standard deviation.Compare this value with
Mean Value of Imageto better understand image contrast versus overall brightness.When analyzing many images or monitoring trends, pipe the output to
Scopefor live plotting or toImage Logger/CSV Exportfor recording.If image size is large and you only need a quick estimate, downscale with
Image Resizerbefore feeding this block to speed up processing.Combine with
Image Resolution and Channel ValueorNon-zero of Imageto add contextual checks (example: ensure image has expected channels or content before trusting the statistic).
π οΈ Troubleshooting
No value appearing: verify that an upstream block is sending a valid image to
Image Any.Unexpectedly low or high value: confirm you are measuring the intended region (use
Image ROI) and consider preprocessing withBlurorDenoisingto remove sensor noise or compression artifacts.Want visual inspection: connect the same image source to
Show Imageto preview the image while checking the statistic.
Last updated
Was this helpful?