Wand white_threshold() function – Python
The white_threshold() function is an inbuilt function in the Python Wand ImageMagick library which is used to force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.
Parameters: This function accepts single parameters as mentioned above and defined below:
- color: This parameter stores the value of the color as string like ‘green’, ‘white’, ‘red’.
Return Value: This function returns the Wand ImageMagick object.
Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.
To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course