ComfyUI Node
cv2.estimateChessboardSharpness
Raw wrapper of cv2.estimateChessboardSharpness(image, patternSize, corners, rise_distance?, vertical?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.estimateChessboardSharpness
- image
- patternSize
- corners
- sharpness
- sharpness_map
◄rise_distance0.8000►
◄verticalfalse►
Categoryimage/CV/low-level/cv2 E
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | NPARRAY,IMAGE,MASK | Gray image used to find chessboard corners Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| patternSize | CV_TUPLE | 0,0 | Size of a found chessboard pattern One value with 2 components (w, h) - it travels as a whole, so it cannot arrive half-connected. Wire it from 'CV Tuple' or type the components in place. |
| corners | NPARRAY | Corners found by #findChessboardCornersSB A data array (points / matrix), NOT an image - only an NPARRAY link is accepted here. | |
| rise_distanceopt | FLOAT | 0.8000-1e+38–1e+38 | Rise distance 0.8 means 10% ... 90% of the final signal strength Preset to the OpenCV default (0.8). |
| verticalopt | BOOLEAN | false | By default edge responses for horizontal lines are calculated Preset to the OpenCV default (False). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| sharpness | STRING | Scalar(average sharpness, average min brightness, average max brightness,0) A cv2 Scalar as the pack's literal spelling "(c0, c1, c2, c3)" - one value per channel, and exactly what every colour / borderValue input takes. |
| sharpness_map | NPARRAY | — |