Image.blackThreshold

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

Parameters

threshold Quantum

The threshold value for red green and blue.

channel ChannelType

One or more channels to adjust.

Meta