Page 1 of 1

Correcting cold pixels only

Posted: 19 Dec 2021, 14:39
by fabdev
Hello, I've been asked a method to correct only cold pixels, without modifying the hot ones.
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
The image is simply "inverted", then the normal hot pixel filter is applied, then the image is inverted again.
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".