Skip to content

Instantly share code, notes, and snippets.

@Aracki
Last active January 17, 2019 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Aracki/54be490facfcd9761176d90c5c8260c1 to your computer and use it in GitHub Desktop.
Save Aracki/54be490facfcd9761176d90c5c8260c1 to your computer and use it in GitHub Desktop.
Jupyter testing
library(imager)
#file <- system.file('/home/jovyan/work/img/tree.jpg',package='imager')
#system.file gives the full path for a file that ships with a R package
#if you already have the full path to the file you want to load just run:
im <- load.image("/home/jovyan/work/tree.jpg")
#im <- load.image(file)
im.blurry <- isoblur(im,1) #Blurry parrots!
plot(im.blurry)
im.blurry <- isoblur(im,2) #Blurry parrots!
plot(im.blurry)
im.blurry <- isoblur(im,3) #Blurry parrots!
plot(im.blurry)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment