We have to define the criteria for reading by a brightness greater than the given value is less than the value 1 and the bright area, with a value of 0.
We set the conditions for reading out. The area is much brighter than the value assigned to a value of 1 and a brightness less than the value assigned a value of 0.