Nodes/Parametric Studio/Patch DCT Shrinkage (list image, not BM3D)
ComfyUI Node

Patch DCT Shrinkage (list image, not BM3D)

Overlapping-patch 2-D DCT soft/hard thresholding on a nested-list grayscale image. Not BM3D (no block matching, no 3-D grouping) and not for IMAGE tensors. psnr_db compares the result with the input, so it measures change, not noise removed.

By parametricparadigm·Created 4 days ago·Updated about 3 hours ago· 1
Patch DCT Shrinkage (list image, not BM3D)
  • image
  • shrunk_image
  • psnr_db
  • reason
  • vram_ok
◄sigma0.100►
◄block_size4►
◄threshold_mode▾►
◄vram_budget_bytes0►
CategoryParametric/Image

Inputs (5)

NameTypeDefaultDescription
sigmaFLOAT0.1000–1000000000Sigma. From 0 to 1e+09. Default 0.1.
block_sizeINT42–64Block size. From 2 to 64. Default 4.
imageANYThe input image.
threshold_modeoptCOMBOThreshold mode. One of 3 choices.
vram_budget_bytesoptINT00–4611686018427388000Vram budget bytes. From 0 to 4.61169e+18. Default 0.

Outputs (4)

NameTypeDescription
shrunk_imageANY—
psnr_dbFLOAT—
reasonSTRING—
vram_okBOOLEAN—