Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cut some values
#1
Hi all,
i world like to 'cut', i.e. put to 0 some values above a treshold value.

Something like : if pixel value > 130 -> 0


The idea is to make some astronomical masks to remove noise. (erase signa, then substract noise)

How do I do this ? From scripts ?
Reply
#2
You can do this with the Threshold filter:
Ensure your image is 8bit integer (menu Image -> Precision)
then menu Colors -> Threshold...
  • set the left input to 0
  • set the right input to 130
  • in Blending Options, set the Mode to Multiply
Reply


Forum Jump: