search for: cellr

Displaying 8 results from an estimated 8 matches for "cellr".

Did you mean: cell
2013 Mar 22
2
read.pnm question in R-beta
In R-beta (Masked Marvel), when I do the example from the read.pnm help file, this is what happens: x <- read.pnm(system.file("pictures/logo.pgm",package="pixmap")[1]) Warning message: In rep(cellres, length=2): x is NULL so the result will be NULL In R-2.15.3, it's all right. Thanks, Erin Erin M. Hodgess, Ph.D. Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: hodgesse@uhd.edu<mailto:hodgesse@uhd.edu> [[alternative HT...
2003 Sep 02
2
identify with image
...a! I will want to identify pixels in an image with the mouse, for so getting the image data from the matrix(es), for use in subsequent discriminant analysis. But the following bombs R: (windows XP, rw1071) > str(baboon) list() - attr(*, "size")= int [1:2] 512 512 - attr(*, "cellres")= num [1:2] 1 1 - attr(*, "bbox")= num [1:4] 0 0 512 512 - attr(*, "channels")= chr "grey" - attr(*, "bbcent")= logi FALSE - attr(*, "class")= chr "pixmapGrey" - attr(*, "grey")= num [1:512, 1:512] 0.537 0.510 0.345...
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
...ixmap", y="missing")) Method Definition: function (x, y, ...) { .local <- function (x, y, xlab = "", ylab = "", axes = FALSE, asp = 1, ...) { x = as(x, "pixmapIndexed") X <- seq(x at bbox[1], x at bbox[3], by = x at cellres[1]) Y <- seq(x at bbox[2], x at bbox[4], by = x at cellres[2]) image(x = X, y = Y, z = t(x at index[nrow(x at index):1, , drop = FALSE]), col = x at col, xlab = xlab, ylab = ylab, axes = axes, asp = asp, ...) } .local(x, y, ...) } <environment...
2008 May 23
1
seeing an S4 method, not using it
...ion : 0x0 Bounding box : 0 0 0 0 save.image() ##### after closing R and starting a new session, loading the .RData ##### (pixmap is not loaded) > foo Loading required package: pixmap ## <-- pixmap loaded automatically An object of class ?pixmap? Slot "size": [1] 0 0 Slot "cellres": [1] 0 0 Slot "bbox": [1] 0 0 0 0 Slot "bbcent": logical(0) ## the object is not printed correctly. Yet: > getMethod("show","pixmap") Method Definition: function (object) { cat("Pixmap image\n") cat(" Type :", class(object...
2013 Mar 22
1
read.pnm question
Dear R People: I am trying to replicate a cool example that I saw on the R-bloggers some time ago by kafka399. Here are the lines tI think may be causing the trouble: gray_file <- read.pnm(path) pos[i,] <- c(gray_file@grey) The warning error that I get is "In rep(cellres, length=2): x is NULL so the result will be NULL Any suggestions would be much appreciated. Thanks, Sincerely, Erin -- Erin Hodgess Associate Professor Department of Computer and Mathematical Sciences University of Houston - Downtown mailto: erinm.hodgess@gmail.com [[alternative HTML ve...
2003 Sep 18
2
Place a graphic into an R-plot
I have a graphic image in a file (say a *.jpeg or *.png file) and want to put it into a plot. I have segmented the plot area by means of the layout function and successfully plotted my data in the appropriate segments. I cannot find how to put my graphic image onto the same plot. Searching the archives has shed little light on my challenge. Many thanks in anticipation. Gordon > version
2003 Sep 03
0
identify() seg.faults (PR#4057)
...getting the image data from the matrix(es), for use in subsequent > > discriminant analysis. But the following bombs R: > > (windows XP, rw1071) > > > > > str(baboon) > > list() > > - attr(*, "size")= int [1:2] 512 512 > > - attr(*, "cellres")= num [1:2] 1 1 > > - attr(*, "bbox")= num [1:4] 0 0 512 512 > > - attr(*, "channels")= chr "grey" > > - attr(*, "bbcent")= logi FALSE > > - attr(*, "class")= chr "pixmapGrey" > > - attr(*, "...
2005 Aug 04
3
how to read individual values from a pixmap object
Hi All, I have a greyscale image that I am reading in through RGDAL and placing in a pixmap object. As an example use the logo.jpg file that comes with the RGDAL package: #Read the file logo <- system.file("pictures/logo.jpg", package="rgdal")[1] x <- new("GDALReadOnlyDataset", logo) #Create the pixmap object xGrey <- getPixmapGDAL(x) Now I would