powered by
add.colour(im, simple = TRUE)
grayscale(boats) #No more colour channels add.colour(grayscale(boats)) #Image has depth = 3 (but contains only grays)
Run the code above in your browser using DataLab