Nodes/comfyui_cv/cv2.ximgproc.rollingGuidanceFilter
ComfyUI Node

cv2.ximgproc.rollingGuidanceFilter

Raw wrapper of cv2.ximgproc.rollingGuidanceFilter(src, d?, sigmaColor?, sigmaSpace?, numOfIter?, borderType?). Parameters marked '?' are optional; blank means OpenCV default. From the opencv-contrib 'ximgproc' module. See the OpenCV documentation for details.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.ximgproc.rollingGuidanceFilter
  • src
  • result
d-1
sigmaColor25.0000
sigmaSpace3.0000
numOfIter4
borderTypeBORDER_DEFAULT
Categoryimage/CV/low-level/ximgproc

Inputs (6)

NameTypeDefaultDescription
srcCOMFY_MATCHTYPE_V3Source 8-bit or floating-point, 1-channel or 3-channel image. The image output(s) echo this input's format. 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.
doptINT-1-2147483648–2147483647Diameter of each pixel neighborhood that is used during filtering. If it is non-positive, it is computed from sigmaSpace . Preset to the OpenCV default (-1).
sigmaColoroptFLOAT25.0000-1e+38–1e+38Filter sigma in the color space. A larger value of the parameter means that farther colors within the pixel neighborhood (see sigmaSpace ) will be mixed together, resulting in larger areas of semi-equal color. Preset to the OpenCV default (25.0).
sigmaSpaceoptFLOAT3.0000-1e+38–1e+38Filter sigma in the coordinate space. A larger value of the parameter means that farther pixels will influence each other as long as their colors are close enough (see sigmaColor ). When d>0 , it specifies the neighborhood size regardless of sigmaSpace . Otherwise, d is proportional to sigmaSpace . Preset to the OpenCV default (3.0).
numOfIteroptINT4-2147483648–2147483647Number of iterations of joint edge-preserving filtering applied on the source image. Preset to the OpenCV default (4).
borderTypeoptCOMBOBORDER_DEFAULT - - -

Outputs (1)

NameTypeDescription
resultCOMFY_MATCHTYPE_V3Echoes the 'src' input's format: an IMAGE link comes back as IMAGE, MASK as MASK, NPARRAY stays NPARRAY.