[R-sig-Geo] reading tiff with jump?
Agustin Lobo
aloboaleu at gmail.com
Tue Aug 5 13:38:36 CEST 2008
Hi!
is it possible to read a tiff file with readGDAL but just keeping
one pixel every p columns and q lines? That is,
a systematic sampling at reading. This is good to save memory
and still be able of displaying and performing
statistics. As images are large,
reading in the entire image and then sampling is not
an alternative.
If this is not contemplated in the readGDAL function,
is there any way to just read in one line, perform
the sampling and then go on with the next line?
I think I did this with binary images few years
ago, but using tiff would be much better for
practical reasons.
Thanks
Agus
--
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
08028 Barcelona
Spain
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
http://www.ija.csic.es/gt/obster
More information about the R-sig-Geo
mailing list