powered by
Shortcut, returns the dimensions of an image if it had only one colour channel
gsdim(im)
returns c(dim(im)[1:3],1)
an image
Simon Barthelme
imnoise(dim=gsdim(boats))
Run the code above in your browser using DataLab