Using getChannels() function in R pixmap package: I want black to be '1' and white to be '0', it is the inverse of this by default

前端 未结 0 645
予麋鹿
予麋鹿 2021-02-05 06:43

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题