Using alpha maps to discard pixels