search for: pixmaprgb

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

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 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
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 Sep 30
2
using identify() together with plot () and pixmap()
Dear R users I have a two-dimensional array, whose values I want to plot, using the pixmapGrey class. Plotting works fine, and now I would like to be able to identify some of the points in the plot using identify(). But I get the following message while pressing the left mouse button: > plot(pixmapGrey(fmri.vtc[,,slice,volume])) > identify(fmri.vtc[,,slice,volume]) warning: no point with
2003 Nov 06
1
Reading JPG files within R
Dear R-listers, I am an enthusiastic new to R and have the following simple (. I hope .) problem: I am searching a function that allows to import jpg files as matrices (n x m x 3) i.e. n_pixels x m_pixels x 3_colors. I have seen the pixmap library, but it seems able only to read BMP pictures (and not all them .). Can someone give me some suggestions ? Thank you in advance.
2004 May 13
2
watermarks
Hi, I would like to plot a graph which sits in the background as a watermark with other plots in the foreground - on top. I have looked through the threads on the r-project website but they seem to concern background colours rather than actual background plots. I have also searched through the demo's and pars but can't find any eg's any ideas - I only want to plot a simple graph
2009 Oct 20
1
Problem/anomalous behavior with image() function (and ReadImages?)
...matix(), which in turn calls image() Alternatively, you can copy cat.jpg from the rimage package to the data directory of ReadImages and do this: library(pixmap) library(ReadImages) x <- read.jpeg(system.file("data", "cat.jpg", package="ReadImages") catpixmap <- pixmapRGB(x) # convert imagemap to pixmap plot(catpixmap) # plot.pixmap is an S4 method that also calls image() (This alternative method is provided because rimage has an irrelevant dependency on an external library FFTW2 that complicates the process of installing rimage. The use of cat.jpg is not essential...
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