Histogram On Curve
This function block analyzes pixel values along a specified curve in a grayscale or binary image. It defines the curve based on pixel intensity along the specified line and provides insights into the pixel distribution across that curve.
π₯ Inputs
Input Image (Binary Image)
This input accepts a binary or grayscale image that will be analyzed.
Line Location (pixel)
Specifies the pixel position of the line where the analysis will be performed.
Line Detection Threshold
A threshold to determine which pixel values are considered significant along the line.
Pixel Value Threshold
A threshold that event filters or highlights specific pixel values along the detected curve.
π€ Outputs
Output Image
The modified image that displays the analyzed curve and additional graphical elements.
Plot Image
An image that visualizes the pixel values along the detected line.
Curve Image
This output contains the region with the detected curve represented graphically.
Line Angle
The angle of the detected line with respect to the image axes.
Is Line Valid?
A boolean output indicating whether the detected line is valid based on the analysis.
πΉοΈ Controls
Relation
A dropdown control to select whether the analysis will be performed in the vertical or horizontal direction.
π¨ Features
Curve Detection
The block detects curves by analyzing pixel intensities and identifying significant peaks.
Visualization
Provides visual outputs that show key measurements, detected curves, and plots of pixel values, aiding in analysis.
Validity Check
The block assesses if the detected line is valid according to the defined criteria.
π Usage Instructions
Input Image: Connect a binary or grayscale image to the
Input Image (Binary Image)
.Line Position: Specify the location of the line using the
Line Location (pixel)
input.Set Thresholds: Enter appropriate values for the
Line Detection Threshold
and the ``Pixel Value Threshold.Direction Selection: Use the
Relation
dropdown to choose whether to check horizontally or vertically.Evaluate: Run the block to conduct the analysis and obtain results including visual representations and validation status.
π Evaluation
The function block processes the input image and returns visualizations and numerical outputs based on detected curves along specified lines.
π‘ Tips and Tricks
π οΈ Troubleshooting
Last updated