powered by
getPixels(x, i = NA, j = NA, k = NA, l = NA)
img<-makeImage(c(10,10),rnorm(100)) pixel<-getPixels(img,i=c(1,2),j=1)
Run the code above in your browser using DataLab