Nodes/comfyui-image-block-glitch/图像块错位故障 / Image Block Glitch
ComfyUI Node

图像块错位故障 / Image Block Glitch

在坐标选区或任意形状遮罩内生成完整横向矩形错位图块,可选色相偏移与自然重叠。

By YudachiL·Created about a month ago·Updated about a month ago· 4
图像块错位故障 / Image Block Glitch
  • image
  • selection_mask
  • image
  • affected_mask
region_modecoordinates
region_x0
region_y0
region_width512
region_height512
block_count24
block_width_min48
block_width_max240
block_height_min4
block_height_max24
shift_min12
shift_max160
vertical_jitter0
block_probability1.00
allow_overlaptrue
hue_shift_enabledtrue
hue_shift_probability0.65
hue_shift_min-25
hue_shift_max25
opacity1.00
edge_modeclip
seed0
Categoryimage/effects

Inputs (24)

NameTypeDefaultDescription
imageIMAGE
region_modeCOMBOcoordinates2 options: coordinates, mask
region_xINT00–16384
region_yINT00–16384
region_widthINT5121–16384
region_heightINT5121–16384
block_countINT240–500
block_width_minINT481–16384
block_width_maxINT2401–16384
block_height_minINT41–4096
block_height_maxINT241–4096
shift_minINT120–16384
shift_maxINT1600–16384
vertical_jitterINT00–1024
block_probabilityFLOAT1.000–1
allow_overlapBOOLEANtrue
hue_shift_enabledBOOLEANtrue
hue_shift_probabilityFLOAT0.650–1
hue_shift_minFLOAT-25-180–180
hue_shift_maxFLOAT25-180–180
opacityFLOAT1.000–1
edge_modeCOMBOclip2 options: clip, wrap
seedINT00–18446744073709550000
selection_maskoptMASK

Outputs (2)

NameTypeDescription
imageIMAGE
affected_maskMASK