diff --git a/DESCRIPTION b/DESCRIPTION index 7e9e6ed..a7c042c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -3,7 +3,7 @@ Title: Read ImageJ Region of Interest (ROI) Files Description: Provides functions to read ImageJ (http://imagej.nih.gov/ij/) Region of Interest (ROI) files, to plot the ROIs and to convert them as spatstat (http://spatstat.org/) spatial patterns. -Version: 0.1 +Version: 0.1.1 URL: https://github.com/davidcsterratt/RImageJROI Date: 2014-03-20 Authors@R: c(person("David C", "Sterratt", role=c("aut", "cph", "cre"), diff --git a/demo/ijroi.R b/demo/ijroi.R index bc6cc44..1d1a7f1 100644 --- a/demo/ijroi.R +++ b/demo/ijroi.R @@ -1,3 +1,4 @@ +library(png) path <- file.path(system.file(package = "RImageJROI"), "extdata", "ijroi") im <- as.raster(readPNG(file.path(path, "imagej-logo.png"))) plot(NA, NA, xlim=c(0, ncol(im)), ylim=c(nrow(im), 0), asp=1)