Displaying 20 results from an estimated 2000 matches similar to: "using identify() together with plot () and pixmap()"
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
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
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 Sep 02
2
identify with image
Hola!
I will want to identify pixels in an image with the mouse, for
so getting the image data from the matrix(es), for use in subsequent
discriminant analysis. But the following bombs R:
(windows XP, rw1071)
> str(baboon)
list()
- attr(*, "size")= int [1:2] 512 512
- attr(*, "cellres")= num [1:2] 1 1
- attr(*, "bbox")= num [1:4] 0 0 512 512
- attr(*,
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?
2004 Jul 12
1
pixmapIndexed color question
Hi
I use pixmapIndexed
tmp.vimp <- array(0,c(x.dim,y.dim))
tmp.vimp <- pixmapIndexed(tmp.vimp, col=rainbow)
to plot values of a 2D matrix. I 'fill' the pixmapIndexed like:
for (x in 1:x.dim) {
for (y in 1:y.dim) {
tmp.vimp at index[x,y] <- my.matrix[x,y]
}}
how can I define, that the colors are painted e.g. according the rainbow
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
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=
2006 Apr 03
1
No UID associated with this user name
Hi sorry if this is the wrong place to post but I'm not sure where to
go to and I'm a bit desperate.
We just brought our Sunfire 6800 server and Storedge 9960 RAID array
Solaris 8 back up after some maintenance and everything came back up
'clean' but I cannot get our SAMBA software to recognise any users or
directories when logging in remotely from an apple or windows box.
2002 Sep 19
1
install.packages() together with pixmap package (PR#2042)
Full_Name: Wolfgang Huber
Version: 1.5.1
OS: Windoof 2000
Submission from: (NULL) (193.174.62.11)
Hi,
Trying to install the binary distribution (zip file) for the "pixmap" package,
as downloaded today from CRAN, I get the following warning "error -1". The
package will not be installed.
Installation of other packages (e.g. pinktoe, acepack) worked fine. The warning
or error
2006 Mar 11
1
Analyze Fmri package
Hi,
Can you please help me?
Whenever I try to run f.ica.fmri.gui(), R crashes.
In the GUI, I selected an *.img file and I checked the 'Create mask' box and
I typed a name for the object and then I press 'Start' button. Then in the
R Console window it said 'Reading...Whitening', but after the Whitening
message an error window popped up and then R crashed.
Did I do something
2003 Aug 19
1
With sambaSamAccount, do I need an add user script and an add machine script?
Dear Folks,
With Samba 3.0.0 RC1, openldap-2.1.22, with samba as PDC and as much as possible
in LDAP, do I need to write an add user script and an add machine script? Or
does samba handle this itself? Sorry, I'm rather confused about how to go about
setting this all up.
--
Nick Urbanik RHCE nicku(at)vtc.edu.hk
Dept. of Information & Communications
2002 Oct 29
3
FW: (no subject)
Jesus how do u post something, it always comes back :(
-----Original Message-----
From: Rend, Jon (Jon) % [mailto:rend@agere.com]
Sent: Tuesday, October 29, 2002 8:05 AM
To: 'samba@lists.samba.org'
Subject: [Samba] (no subject)
On friday we changed our smb.conf file to test the security model that uses
DOMAIN authenticacion. It worked fine testing two seperate usernames from
Multiple
2003 Sep 03
0
identify() seg.faults (PR#4057)
Full_Name: Roger Bivand
Version: 1.7.1
OS: i686-pc-linux-gnu
Submission from: (NULL) (129.177.30.18)
identify() seg.faults when x is an empty list, when the n argument is given a
positive value, avoiding the check for non-positive n (n <- length(x) when x is
the non-existent x component of the empty list, and when neither x nor y are
components of the list.
suggested resolution: add test in
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 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 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.
2008 May 23
1
seeing an S4 method, not using it
Dear list,
here is a problem I met when trying to use a method for an S4 object,
without loading the package in which the method was defined. I do not
know if this is a bug, or a mistake of mine. Normally, I think the
package in which the appropriate method is defined is loaded
automatically when calling the method. The problem is that if the
package is indeed loaded automatically, the
2012 Apr 22
2
contour algorithm
First time user, so sorry if I don't understand protocol.. Anyway, I have
created a data frame consisting of pearson's R values at various x and y
coordinates and then plotted this using filled.contour. My data is similar
to fMRI data except that it is a surface map reconstructed from
histological sections. I like the results but would like to know how
contours were detected. Google search