similar to: reading tiff files

Displaying 20 results from an estimated 9000 matches similar to: "reading tiff files"

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 ...
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.
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?
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
2003 Apr 09
1
'Apparently' trouble with name spaces and Sweave...
Ben Bolstad experienced something odd while running R CMD check over a package of ours using r-devel (yesterday's fresh). He tracked down the problem to a vignette calling 'library(MASS)'. Please kindly ignore if this is a known (and temporary) issue. Laurent ----- Forwarded message from Ben Bolstad <bolstad@stat.berkeley.edu> ----- Return-Path:
2004 Jan 12
2
Wrote new tiff package, would like big-endian tiffs for testing
Over the years I have noted a couple of people interested in an R package that will read tiff files. There were some valid arguments against (e.g. R is not an image editting suite, libtiff does not support all tiff files, etc.). True enough, when I want to work with family photos, I use Gimp. But in my research I use tiffs as data sets in the context of computational biology and molecular
2001 Jul 19
1
Compiling R-1.3.0-patched on OSF1
Dear R-users, I currently have trouble in trying to compile R-1.3.0-patched on Compaq OSF1. -------- >uname -a OSF1 adenine.fysik.dtu.dk V4.0 1229 alpha -------- The 'configure' step ended seemingly corretly: ----------------------- R is now configured for alphaev6-dec-osf4.0f Source directory: . Installation directory: /home/adenine/sysman/laurent/share/ C
2001 Oct 24
0
Re: Compiling R v 1.3.1 under Irix 6.5 on SGI Origin
Hello Laurent, Ray and Greg, I tried the gmake settings. Yet, I still got an Error code 1 message when I run the test. running regression tests don't know how to make ../library/base/R/base (bu42). *** Error code 1 (bu21) Thanks you if you have any idea. Manuel -----Message d'origine----- De : Laurent Gautier [ mailto:laurent at genome.cbs.dtu.dk <mailto:laurent at
2005 Nov 21
3
PNG-import into R
Hi there I'm looking for a function to read PNG-bitmap-images from a file into R. I only found: - the pixmap-package which cannot import png or similar formats - the rimage-package which can only import lossy jpeg-images (the convertion from png to jpeg modifies the data!) Is there any possibility to read PNG-files? Thanks for any help Dominic Sydler
2001 Dec 31
2
Extracting/setting elements from/in a matrix/array
Dear all, I had to extracts/set elements from/in a matrix. Let say I have two vectors dim1 and dim2 of indices in the respective two dimensions of a matrix: I want to extract all the corresponding elements. I the case of a nxn matrix, dim1 <- 1:n and dim2 <- 1:n would extract the diagonal. I know one way would be to use the functions 'row' and 'col', but the matrixes I
2001 Oct 27
1
trouble with data.matrix
Dear all, The following causes me trouble: > a <- data.frame(2:5,3:6,4:7) > str(a) `data.frame': 4 obs. of 3 variables: $ X2.5: int 2 3 4 5 $ X3.6: int 3 4 5 6 $ X4.7: int 4 5 6 7 > str(data.matrix(a)) int [1:4, 1:3] 2 3 4 5 3 4 5 6 4 5 ... - attr(*, "dimnames")=List of 2 ..$ : chr [1:4] "1" "2" "3" "4" ..$ : chr
2001 Oct 22
1
No subject
Dear all, I may have overlooked something but the following piece of code causes me trouble: > a_data.frame(1:4) > a X1.4 1 1 2 2 3 3 4 4 > apply(a,2,cat) 1 2 3 4Error in ans[[1]] : subscript out of bounds > apply(a,1,cat) 1234NULL Is this the fact my data.frame has only one dimension ? (and do I forget somewhere (but where ?) to specify not to 'drop'
2011 Apr 22
3
Reading a TIFF file
Dear all, I have been trying to speed up a process we have been done in ArcGIS. We have to read a single layer TIFF (monochrome image) in . For this, I have used the "rtiff" package. After reading the TIFF file, I compared the raw values for each pixel that I have in ArcGIS to the ones obtained in R. In ArcGIS I have discrete values in the range 0..255, while in R I have continuous
2003 Mar 11
1
R CMD check (again)
Hi, R-devel causes me still trouble. It dies with Error: couldn't find function "predict.loess" Execution halted for the package affy, but bash-2.04$ grep predict.loess ~/R-devel/src/library/modreg/R/*.R /misc/homes/laurent/R-devel/src/library/modreg/R/loess.R:predict.loess <- function(object, newdata = NULL, se = FALSE, ...) bash-2.04$ ..the function seems to be there...
2001 Jul 16
2
Trouble with the memory allocation
Dear R-users, I am currently facing what appears to be a strange thing (at least to my humble understanding). If I understood correctly, starting with the version 1.2.3, R memory allocation can be done dynamically, and there is no need to fiddle with the --nsize and --vsize parameter any longer... So far this everything seemed to go this way (I saw the size of my processes growing when I was
2001 Aug 13
1
jpeglib.h in a strange place
Dear All, Would anybody have any advice to give on that: The Facts: - I installed (compiled) R on SGI IRIX (6.5) - I am not root - I discovered the jpeg device I need now badly doesn't work (postscript is not so happy with 19 millions spots) - after investigation, it appeared the jpeglib.h was detected not recent enough at configure time - the jpeglib.h in /usr/include is version 6a - the
2001 Jun 12
1
trouble to install the Rstream package
Dear R-users, I successfully installed the package Rstreams under linux, but my first attempt to do so on SGI IRIX 6.5 (64bits) lead to the following error message. -------------------- laurent at genome> R CMD INSTALL Rstreams Installing source package `Rstreams' ... creating cache ./config.cache checking for ftruncate... yes checking size of long double... 16 updating cache
2001 Oct 15
0
R-package and configure
Dear R-helpers, I have been trying to use the 'configure' feature offered to package writters... but could make it work. The matter may have been discussed before, and a rtfm answer with the place the answer is found is perfect (but I read the 'writing R extensions' manual). The problem is: In my C code I have code conditional to a defined macro. I used autoconf the naive way
2001 Oct 25
0
X11() and XFree4.1.0 (and probably also MS truetype fonts)
Dear all, I updated ('almost' painlessly =) ) the XFree version of my suse distribution 7.1 (could not wait any longer as the screensaver was crashing everything with irregular periodicity)... I have now Xfree 4.1.0 running (with OpenGL 3D going through the Mesa library), and I downloaded MS truetype fonts (as suggested by Mr. Suse). R seems to work... except (so far) the output of the
2003 May 16
1
Images Import and Analysis
I'm starting a time study on an area. To determine if an individual has entered the area, we are having timed photographs taken of the area. What I want to do is import the image files (either one at a time or simultaneously), convert it to a density image, take the density at multiple points in the image and determine if they are over an area average (indicating someone or something is in