Image.blackThreshold

Forces all pixels below the threshold into black while leaving all pixels above the threshold unchanged.

  1. void blackThreshold(Quantum threshold, ChannelType channel = ChannelType.DefaultChannels)
  2. void blackThreshold(Quantum red, Quantum green, Quantum blue, Quantum opacity = 0, ChannelType channel = ChannelType.DefaultChannels)

Parameters

channel

One or more channels to adjust.

Meta