ComfyUI Node

Sensor Dust

A node for adding camera sensor dust spots to an image. max_dust_factor is this, @ 5e-7 =~ 12 spots on a 6000x4000px image. If your input image res >= 2000 in any dim it applies a different method. I noticed this many spots on my camera and wanted to emulate it here. These spots are usually a 3x3px grid of either red green or blue spots that are desaturated.

By TrophiHunter·Created about a year ago·Updated about a year ago· 4
Sensor Dust
  • image
  • IMAGE
max_dust_factor0
minimum_number_spots3
intensity0.500
brightness_threshold0.450
red_intensity0.500
green_intensity0.500
blue_intensity0.500
CategoryTrophiHunter/Photography

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
max_dust_factorFLOAT00–0.002
minimum_number_spotsINT31–100
intensityFLOAT0.5000–1
brightness_thresholdFLOAT0.4500–1
red_intensityFLOAT0.5000–1
green_intensityFLOAT0.5000–1
blue_intensityFLOAT0.5000–1

Outputs (1)

NameTypeDescription
IMAGEIMAGE