Count for each feature how many pixels from the given grids are above a certain NIR (near infrared)
value. Red-Value calculation for NIR R G: NIR * threshold > R + G. First three parameters can be used
to specify the number of NIR, Red and Green band (default is 0, 1, 2). nir_baseline
will act as
minimal expected NIR value to mark a pixel as candidate. threshold
can be used to specify comparison
sensitifity and be multiplied to the NIR value. bright_roof_threshold
can be used to ignore pixels
where the sum of red and green value will be higher (in general the case for bright roofs).