Displaying 2 results from an estimated 2 matches for "getpixmapgd".
Did you mean:
getpixmapgdal
2005 Aug 01
2
Rgdal windows binary warning message
Hi all,
I just downloaded windows binaries of RGDAL (from
http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.1/) and installed.
I ran the example R_HOME\library\rgdal\R-ex\getPixmapGDAL.R and everything
seemed to work as expected. However I got the following warning message:
DLL attempted to change FPU control word from 8001f to 9001f
The R-help (?dyn.load) describes the problem as:
************************************
External code must not change the floating point contr...
2005 Aug 04
3
how to read individual values from a pixmap object
...AL 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 like to read individual pixel values and store them in a
separate vector. However I have not found a straight-forward way to do this.
I thought that something like:
x <- xGrey[1,1]
would return the pixel value, but it seems to return a pixmap object with
dimension 1x1 (i...