average hot pixel
Posted: 2011-03-31T05:52:47-07:00
Hi All,
i have trouble finding the right filter for my issue and need some help...
I took a lot of images with a digital camera and the dark and flat correction didnt work very well... the result is a greyscale 16bit tif image with a very nice historgram in the black area and some hot pixels very close to white...
My idea was to search for a pixel with a value above 65000 and just set it to an average of the 8 surrounding pixels...
I tried to use but this averaged all pixels. I also tried to use the distance kernel but couldn't get it to work...
Has any one a good suggestion?
Kind regards
Mario
i have trouble finding the right filter for my issue and need some help...
I took a lot of images with a digital camera and the dark and flat correction didnt work very well... the result is a greyscale 16bit tif image with a very nice historgram in the black area and some hot pixels very close to white...
My idea was to search for a pixel with a value above 65000 and just set it to an average of the 8 surrounding pixels...
I tried to use
Code: Select all
convert SPC_12A_0001.tif -morphology Erode Square test.tif
Has any one a good suggestion?
Kind regards
Mario