Separated the pixels from the associated labels