“…The tree is built bottom-up, starting from singular pixels, because it is easy and fast to calculate the three values, based on their values in the four sub-blocks. The bottom-up approach was recommended also in [6,8], whereas topdown construction was applied in [7,9]. The sum is calculated, instead of the average, because repeated calculation of averages would create accumulating rounding errors.…”