object test
use mask to eliminate points of background