use pixel center value