toBooleanArray
Converts the image into a boolean array.
Each pixel channel is converted to boolean: true if > 127, false otherwise.
Return
A boolean array containing the image pixel data in RGB order.
Converts the image into a boolean array.
Each pixel channel is converted to boolean: true if > 127, false otherwise.
A boolean array containing the image pixel data in RGB order.