use rect in filtercontext instead of qpoint in OSD
initialize Statistics