Monochrome black and white bitmap
2 answers
One solid way is the middle threshold bitmap. This method is described in this article in the method section. It is often used to flatten the image and compensate for different levels of brightness, etc. It can be used directly from color or after grayscale conversion. After you get the image, you can simply set the white pixels to white and black to black using setPixels()
the buffer.
You can also tweak it so that it doesn't use the mean exactly. You can have a slider for 0-100% black, where the average will be 50%. This way you can make adjustments on the fly for each individual image. You just need to recalculate the threshold and apply the pixel buffer again.
+2
source to share