Created
June 10, 2015 19:09
-
-
Save abresler/f3d7528cccdf6bb2ad52 to your computer and use it in GitHub Desktop.
Fun Imager Example Delly-Curry Imager Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Dellie Meme | |
library(imager) ## install https://github.com/dahtah/imager/tree/master | |
library(magrittr) | |
library(dplyr) | |
lol_delly <- | |
'http://cavaliersnation.com/wp-content/uploads/2015/06/praUXJ9.jpg' | |
im <- | |
lol_delly %>% | |
load.image | |
t(1:3) %>% | |
layout() | |
im %>% | |
plot(main = "Original") | |
im.t %>% | |
plot(main="Before") | |
mclosing_square(im.t,2) %>% | |
plot(im, main="After morphological closing") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment