Number Range
This function block provides an easy visual slider to choose a numeric interval (minimum and maximum). It is useful for defining threshold ranges, bounding values, or supplying a pair of numbers to other blocks that accept ranges.
📥 Inputs
Minimum — optional numeric input that, when connected, sets the left limit of the slider.
Maximum — optional numeric input that, when connected, sets the right limit of the slider.
(These are input sockets. If left unconnected the slider values are used.)
📤 Outputs
Range — the currently selected min and max values as a pair (provided via the output socket). This output can be consumed by other blocks that accept a numeric range.
🕹️ Controls
Min - Max — a text label that displays the current selected range.
Range Slider — a horizontal two‑handle slider you can drag to change the minimum and maximum values visually.
(human-friendly controls shown on the block; connect inputs to override slider limits when needed)
⚙️ Running mechanism
The block continuously provides the currently selected range through the
Rangeoutput.If the
MinimumorMaximuminput sockets are connected, their values will set the slider limits dynamically. If they are not connected, the slider’s own limits are used.Adjusting the
Range Sliderupdates theMin - Maxlabel immediately and changes the output pair.The block is lightweight and designed to be used as a parameter provider for thresholds and comparisons in real time.
🎯 Features
Visual, easy-to-use two‑handle slider for selecting a numeric interval.
Inputs override the slider range for programmatic control.
Outputs a ready-to-use pair suitable for blocks that accept a range.
Immediate UI feedback via the visible label.
📝 Usage tips
Use this block whenever you need a convenient way to pick a numeric interval for thresholding, bounding, or filtering operations.
Connect
MinimumorMaximumif you want another block to control slider limits (for example, aNumber Inputused for dynamic bounds).Feed the
Rangeoutput into comparison or thresholding blocks to apply the chosen interval.
💡 Tips and Tricks
Combine with
Number Inputto let a user or another block set one end of the range dynamically.Use with logic comparison blocks like
GreaterandSmallerto test whether a value lies inside or outside the chosen range.Drive image thresholding or color filters by connecting the
Rangeoutput to blocks such asImage ThresholdorHSV Filterwhen you need a lower/upper bound for pixel values.For line-based analysis, use the selected range to limit the inspected region before feeding the image into
Histogram On Lineor other analysis blocks.Use together with detection blocks like
Find Objectto restrict matching to specific size or coordinate ranges (e.g., filter results by object size or location).
(hints reference only blocks available in the system for easy combination)
🛠️ Troubleshooting
If the displayed range does not match expectations, check if
MinimumorMaximuminputs are connected; those override the slider.If downstream blocks appear unresponsive to range changes, ensure they accept a range type and are connected to the block’s
Rangeoutput.If you need a fixed range, leave input sockets unconnected and set the slider manually.
Last updated
Was this helpful?