similar to: RFC: package pixmap

Displaying 20 results from an estimated 6000 matches similar to: "RFC: package pixmap"

2004 Aug 25
1
Pixmap problem
Hi, I'm having trouble writing .pnm images which I think is due to a problem with my colour space. The pixmap object seems to be looking for 72 of 8 colours (one per cell?) which doesn't seem healthy... > library(pixmap) > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=rainbow(8)) > x Pixmap image Type : pixmapIndexed Size : 6x12 Resolution : 1x1
2001 Aug 29
2
Missing functions in package e1071(Win*)
Hi! After unziping the CRAN file e1071.zip on my Win95 library directory, I start R and type >library(e1071) After that, help commands of the e1071 functions work (i.e., help(read.pnm), BUT some functions themselves are not available: > read.pnm Error: Object "read.pnm" not found I've looked at the file library/R/e1071 with an ascii editor and it seems like the functions
2001 Sep 11
0
New package pixmap
A new package called `pixmap' has been released on CRAN. From the DESCRIPTION file: Package: pixmap Version: 0.2-1 Title: Bitmap Images (``Pixel Maps'') Depends: R (>= 1.3) Author: Friedrich Leisch and Roger Bivand Maintainer: Friedrich Leisch <Friedrich.Leisch at ci.tuwien.ac.at> Description: Functions for import, export, plotting and other manipulations of bitmapped
2001 Nov 20
1
trouble running pixmap examples
I am having trouble running the 'read.pnm' examples in this package. Can anyone tell me what is wrong? I am using the current package and running Redhat 7.2 (intel). The other examples seem fine but I can't seem to pull in files. [root at KENNY root]# R R : Copyright 2001, The R Development Core Team Version 1.3.0 (2001-06-22) R is free software and comes with ABSOLUTELY NO
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
2003 Apr 22
3
Problem with pixmap on R 1.7.0?
Hi R users: I got the following message when I use the pixmap library on R 1.7.0 over w2K platform (on R 1.6.2 it runs right). pixmapGrey(matrix(c(0,1),128,128)) Error in .class1(object) : Object "from" not found I download the library .zip file from: http://cran.r-project.org/bin/windows/contrib/1.7/pixmap_0.3-2.zip Other question: When I try to "Install package(s) from
2006 Mar 09
1
count pixels of same color in pixmap object?
Dear all, I try to figure out how to use R to count the number of pixels of the same color in some gray-level picture. I managed to read it in either tiff or jpeg format, but the returned pixmap object keeps its information out of (my) reach. Is there an easy way to tabulate the different color/graylevel pixels and their numbers? Or should I use a completely different (free) software?
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
2009 May 18
1
S4 method dispatch and namespaces: why is default method selected
Hi, I ran into the following peculiarity involving S4 method dispatch and namespaces. I develop a package which have a namespace and which depends on 'pixmap' package, which itself does not have a namespace. Now, in my package I have a class which has a slot for objects from class "pixmap" and I want to have a "plot" method for this new class. Not to clutter the
2003 Sep 26
2
overlay two pixmap
Hi I need to overlay two pixmaps (library (pixmap)). One, a pixmapGrey, is the basis, and on this I need to overlay a pixmapIndexed, BUT: the pixmapIndexed has set only some of its "pixels" to an indexed color, many of its pixels should not cover the basis pixmapGrey pixel, means, for this "in pixmapIndexed not defined pixels" it should be transparent. What would you
2003 Feb 28
2
File opening error after 1020 files opened
Hi, I am trying to use "read.pnm" from the package "pixmap" to read more than 10 thousand image files in "mydir". > file.list <- dir( "mydir", full=T) > for( i in 1:length(file.list) ) { print(i) x <- read.pnm(file.list[i]) } In the beginning it was fine. But after reading 1020 images or so, the read.pnm function seems to crash on
2007 Apr 20
1
faster image display?
Does someone here know of a way to display images in R that isn't slow? Here are the things I've tried so far: library(rimage) i<-read.jpeg('foo.jpg') plot(i) # very slow library(pixmap) i <- read.pnm('foo.pnm') plot(i) # also slow chans <- getChannels(i) image(chans[,,1]) # this is slow too I also tried using library(cairoDevice) but it only makes everything
2002 Apr 28
2
Image processing? Manipulating image data in R?
Hi! I am looking for a R library by which i can load images (i found pixmap that allows it to do). But in addition i need methods to access the data, get them for example as an array or matrix to do with this data some processing. 1. Is there a method in the pixmap library to access the matrix in which the image data is stored. 2. Is there an alternative library running under MS Windows?
2009 Jun 15
1
display SVG, PNG, GIF, JPEG, TIFF, PPM in new plot frame
Dear R-help I want to display an image file in a new plot frame. SVG is my preferred format, but I can also consider PNG, GIF, JPEG, TIFF, and PPM (from ImageMagick). By way of background (although not material to this posting), the image file is generated by a call to 'dot' (part of the 'Graphviz' suite) after the required .dot file has been produced using hand-crafted R code.
2001 Nov 19
2
reading tiff files
Dear all, I am looking for a way to read tiff data into R (this could be something the pixmap package users could find intersting). I could not find anything related but I suspect something to exists...somewhere... is it really the case ? Thanking in advancing for help/pointers, Laurent -- Laurent Gautier CBS, Building 208, DTU PhD. Student D-2800 Lyngby,Denmark tel: +45 45 25
2008 Jul 28
1
Are there any packages that can process images other than pixelmap (i.e. pnm)?
Hi, all, I am having trouble getting R to take pnm images via mogrify i.e. mogrify -resize 320x217 -format pnm *.png However R via pixmap says that it can't read the file. If you have any ideas like a package that can read jpeg files, etc., I would appreciate it. Best wishes, Art Roberts University of Washington
2003 Nov 21
1
How to read .bmp files into R? read.pnm throws error
Hi, Is there a way to read .bmp files into R? I have tried read.pnm from pixmap package. It returned Error in pm.readmagicnumber(con) : Not a PNM format file Anyother ways to load bitmap images? Yi-Xiong
2012 Oct 26
1
asking about R Code
Hi, my name is Ellen. I want to ask you about R Code. I got a code for extracting a pixel value, but I can't compile it..  It is said "Error in is.data.frame(x) : object 'lena' not found" Here is the original full code: library(pixmap) lena <- read.pnm("oldlennablur.pgm") write.table(lena@grey,"mylenna", quote=FALSE, row.names = FALSE, col.names=
2003 Jan 29
1
Error
people, I'm using the pixmap library and method read.pnm() for to read figures and it's giving the following error: Error in substr(inpstr, com1, stop = ns) : evaluation is nested too deeply: infinite recursion? I think that to be because of its size. Am I correct? Tks, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco Júnior, Computer Science - UFPE-Brazil "One
1999 Mar 18
2
e1071 and netpbm
Having compiled and successfully installed e1071 on a previous machine (and run under 0.62.4) I want to compile it on a new machine to run under 0.63.3 but the loader can't find netpbm - both machined are RH5.2 Linux installations. I have some quite old netpbm's on a CD but none more recent and I certainly didn't install them on my old machine. I can't locate or rpm -q or rpm