added statistics class, max and min removed from HelperQImage