example of varThreshold for mog2