Here is a possible implementation for 16 bit images:
Code: Select all
Image.PrepareUndo
Image.Formula("65535-v")
Image.HotPixels(30)
Image.Formula("65535-v")
Image.Update
This could be done also with a Macro: The normal Hot Pixels filter only corrects .. hot pixels, to correct both hot and cold pixels use the option "Group of pixels".