Remove all connected regions that touch image boundaries
All pixels that belong to a connected region in contact with image boundaries are set to FALSE.
px.remove_outer(px)
px |
a pixset |
a pixset
Simon Barthelme
im <- draw_circle(imfill(100,100),c(0,50,100),c(50,50,50),radius=10,color=1) plot(im) as.pixset(im) %>% px.remove_outer %>% plot
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.