The size of the filter mask (11 x 11, in this case) depends directly on the
size of the expected objects (both sizes are directly proportional to each
other).
In this example, the dynamic threshold operator selects all pixels that are
at least 5 gray values brighter than their surrounding (11 x 11) pixels.