Re: [R] how to read individual values from a pixmap object

From: Ben Bolker <bolker_at_ufl.edu>
Date: Fri 05 Aug 2005 - 06:24:56 EST

Tony Gill <t.gill1 <at> uq.edu.au> writes:

>
> Hi All,
>
> I have a greyscale image that I am reading in through RGDAL and placing in a
> pixmap object.
>

>

library(pixmap)
x <- read.pnm("graypic.pnm")
str(x)
x@grey[1,1]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Aug 05 06:33:26 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:41 EST