similar to: Are there any packages that can process images other than pixelmap (i.e. pnm)?

Displaying 20 results from an estimated 4000 matches similar to: "Are there any packages that can process images other than pixelmap (i.e. pnm)?"

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
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
2003 Feb 01
1
Try for to use in read.pnm()
Hi, I don't obtain to use try to capture an error of read.pnm(). I was using: res <- try(read.pnm(file_name)) But I don't understand that the variable res represents, or eiher, as I can access its attrbites. Tks, Francisco. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Francisco J?nior, Computer Science - UFPE-Brazil "One life has more value that the world whole"
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.
2007 Jun 07
2
reading BMP or TIFF files
I realize that this question has been asked before (2003); From: Yi-Xiong Zhou Date: Sat 22 Nov 2003 - 10:57:35 EST but I am hoping that the answer has changed. Namely, I would rather read the BMP (or TIFF) files directly instead of putting them though a separate utility for conversion as suggested by, From: Prof Brian Ripley Date: Sat 22 Nov 2003 - 15:23:33 EST "Even easier is
2002 Oct 16
1
SYSLINUX: display a pnm
Hi! I'm Turbo24prg and want to ask you, if I can use the code in SYSLINUX that display an PNM-File on the screen. I'm writting an open-source OS, named InfiniT OS and want to use this code in it. Thanks in advance. thx & cu Turbo24prg ->> Have you written it, or have you implemented out of an other source, and if it is so can you send me the source, please?
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,
2009 Dec 03
2
adding bmp/jpg/gif to an existing plot
Hi, all. I searched a lot at mailing list, installed EBImage and gtk packages, but I couldn't make this simple work: How to add a image file (jpg or bmp ou gif) to an existing plot window (not plot over the image), like the code below (pseudo function add.image): plot(1:10,1:10,main="test") image = read.X("myimage.jpg") add.image(image, x.left=2, y.bottom=4,
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
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 Mar 12
3
reading BMP into R
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070312/112cd7f9/attachment.pl
2009 Apr 09
1
reading an image and adding a legend
Hi all, I would like to 1. Read in an arcmap image into R (I can export pretty much any type of image jpeg, bitmap etc from arcmap) 2. Use R to create a nice colour legend in the plot First of all, Is this possible? So far I'm stuck on point 1. I have tried read.pnm() from pixmap and read.jpeg() from rgl. the pnm example provided works fine x <-
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
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=
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
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
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
2008 Aug 03
2
How do I get an inset graph (i.e. graph within a graph)?
Hi, all, How do I get an inset graph (i.e. graph within a graph)? Your input is greatly appreciated. Best wishes, Art University of Washington Department of Medicinal Chemistry
2007 May 28
3
MiniMagick... Core Dump when Reszing Images?
Hi, I''m using Mini Magick and that attachment_fu plugin to resize images that the user uploads. Everything looks okay in my code, but I get a core dump every time an image is uploaded. The file successfully posts to the application, I can see that the original file gets copied into the folder correctly. It appears that it dumps immediately after that. I''m using Mongrel behind
2006 Sep 13
4
Mini_Magick Problem
I can''t for the life of me figure this out. Been banging my head on this since the weekend, and can''t see what I''m doing wrong. This code works: image.resize("640x480") image.write(path) I run this and I get the resized file just fine. This doesnt work at all: width = 200 height = 100 dimensions = "#{width}x#{height}"