similar to: reading BMP or TIFF files

Displaying 20 results from an estimated 3000 matches similar to: "reading BMP or TIFF files"

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
2009 Apr 09
1
Help plotting image to window without margin
I am using several scripts that employ various packages to process images generated from multispectral data sets. I have used rimage and other packages to try to "plot" or "image" to place images in a window. I have not been able to find a way to suppress the margins that surround the image in the window. I would like to be able to have the image fill the window without any
2000 Jun 28
3
BMP to matrix
Hi all, is there any R function that loads a bmp file, or any other format, and converts its grid of pixels into a matrix or data frame? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/20000628/f3fc8b21/attachment.html
2009 May 24
1
Timing issue using locator() in loop containing print()
I am attempting to use locator(n=2) to select the corners of several (5 in this case) rectangles on an image displayed in a JavaGD window. The returned coords are used to draw labeled rectangles around the selected region. I have tried several things to get this to work including sys.Sleep to correct what appears to be a timing issue with this loop. The first-time print in the loop
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 <-
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,
2012 May 08
2
PPM to BMP converter
Dear all, Several days ago, I posted How to write a bmp file pixel by pixel. Instead of bmp, I succeeded in writing a PPM file by using the pixmap package. Thanks for the hint generously provided by Uwe Ligges. Now I have a new question. How to convert a PPM file to BMP file in R? I know I can do this in photoshop or by some other softwares, but I think if I Can do this in R, that
2011 Dec 06
1
Read Windows BMP format images
Hello, Does anyone know of an R package that can read Windows BMP format images? Many thanks, Greg Jefferis. -- Gregory Jefferis, PhD Division of Neurobiology MRC Laboratory of Molecular Biology, Hills Road, Cambridge, CB2 0QH, UK. http://www2.mrc-lmb.cam.ac.uk/group-leaders/h-to-m/g-jefferis
2009 Nov 15
1
JGR GUI for R-2.10.0 "Help" "Print"
I have updated R 2.9.1 to 2.10.0. and JGR GUI 1.7. I am running Windows XP. I can't seem to get the JGR "Print" or "Help" functions to work. The system locks and requires me to "stop the process". In the past I have preferred the opreation and "feel" of JGR GUI. I realize that this help forum is for R; but, I am hoping that some other R-user is
2002 Jul 22
2
finding the colour at a point
I think this was asked recently but I can't find the item. Is it possible to find the colour at a point on a graphics page? I want to estimate the area of a complex shape by colouring it then random sampling from an enclosing box ... Richard Rowe Richard Rowe Senior Lecturer Department of Zoology and Tropical Ecology, James Cook University Townsville, Queensland 4811, Australia fax (61)7
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.
1999 Nov 11
2
Display Pictures in R
Hi, how can I import pictures in R (e.g. bmp or tiff) and display them in an X11? Thanks Sigurd -------------- next part -------------- An HTML attachment was scrubbed... URL: https://stat.ethz.ch/pipermail/r-help/attachments/19991111/9923e65c/attachment.html
2003 Dec 09
1
Importing TIFF files into a R matrix
Hi I am facing a problem where I would like to import a TIFF image (of spots on a nylon filter) into R (into a matrix for example). When plotting the matrix using fx. scatterplot3d I would then be able to see how the pixel-intensities are distributed in "spot-areas" on the filter - which would be very helpful. Does anynone know of a way to do this? Best regards, Peter Hagedorn ...
2006 Dec 08
2
trouble with cloud output to bmp when in loop
I have some data that I need to view in various 3-D clouds. To better see the cloud structure on a 2-D screen I would like to output a bunch of bmp files with clouds at slightly different angles, then run them through an external program to animate them. But I'm having trouble getting cloud() from the lattice package to output to bmp files. Oddly, this is only a problem when outputting
2004 May 27
2
no transparent background in bmp
I've been attempting to export a graphics file of my lattice plots and no matter what color I use for the bg= argument in the bmp/jpeg/png function, the background is grey. bmp(filename = "c:/my_paper/resids.bmp", width=1024, height=1024, pointsize=10, bg="transparent") # these are lattice plots. plot them in a 3x2 matrix print( hgqqplot, position=c(0.0, 0.66, 0.5, 1.0 ),
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
2008 Aug 14
0
bmp
Hi R users, I already had post this question under the title of bmp header, there was a mistake in my post. The following is the same post without the mistake. Thanks Rostam I have a xml file. A value of one of the nodes of the xml file is a bmp image encoded in base64. I would like to read this image by R. I think I should do the following steps: 1. Decoding it from base64 to binary. 2.
2007 Jul 12
1
bmp => xpm
Salut Alex, je voudrais savoir comment faire pour passer le format bmp, par exemple, en format xpm? Est-ce qu''il est possible de lire des formats bmp(entre autre) avec StaticBitmap? C''est toi en photo dans l''exemple de StaticBitmap? merci Sebastien _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org
2012 Jan 01
1
bmp() shifts the image (Windows XP)
When using bmp() under Windows XP, I find that the saved image is a shifted version of the correct image. Try this: n<-5 fn<-"01.bmp" x<-matrix(runif(n*n),nrow=n) image(x,col=gray(0:255/255),axes=F,frame.plot=F) bmp(filename = fn,width = n, height = n, units = "px") par(mar=c(0,0,0,0),pty="s") image(x,col=gray(0:255/255),axes=F,frame.plot=F) dev.off() The