get pixels in selection