I\'ve imported a black and white pnm file with read.pnm(x). I have then used getChannels(x) to create matrix y. In this matrix, the black pixels are \'0\'s, and the white pixels