better pixel identification