![]() |
VOOZH | about |
The randomThreshold() function is an inbuilt function in the GraphicsMagick library which is used to apply a random threshold to the image. The function returns the true value of success.
Syntax:
randomThreshold( channelType, LOWxHIGH )
Parameters: This function accepts two parameters as mentioned above and described below:
Return Value: This function returns the GraphicsMagick object.
Example 1:
Output:
Example 2:
Output:
Reference: