@bonzo
these are only grayscale images... so i am pretty sure, that there will be no blue or red pixel, and in case there are, they would ignored in the later processing...
I made a small statistics on my normal images and there are no pixel with higher values then 2400, so I thought the idea of remove the pixels with values above 65000 would be save...
@fmw42
I already found your page and tried to get the tophat filter working but with no success
I will try ur isonoise version....
otherwise I helped me with a threshold and where setting all the pixel above to #010101010101, isnt the best solution, but the images are very noisy and this would be something like noise
thanks for ur help!
EDIT:
@fmw42
I tried your isonoise filter and the result looks great! Only Problem I have is, the script gives an ERROR:
/home/dejungma/tmp/isonoise SPC_12A_0001.tif test2.tif
--- FILE SPC_12A_0001.tif DOES NOT EXIST OR IS NOT AN ORDINARY FILE, NOT READABLE OR HAS ZERO SIZE ---
If I execute your commands by hand, everything is fine:
convert -quiet -regard-warnings "SPC_12A_0001.tif" +repage "jnk.tif"
convert jnk.tif -median 1 jnk2.tif
convert jnk.tif jnk2.tif -compose Difference -composite -threshold 10% jnk3.tif
convert jnk.tif jnk2.tif jnk3.tif -compose src -composite test2.tif
Do you have any idea?