[R] Reading a TIFF file

From: Julio Rojas <jcredberry_at_ymail.com>
Date: Fri, 22 Apr 2011 02:23:33 -0700 (PDT)


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 values between 0..1. This, in itself might not be a problem if the values obtained in R, times 255 would show the values obtained in ArcGIS, but this is not the case. The images are very different. I tried to settle matters using Photoshop, and the values there are completely different from the other two (using RGB, the K value (in CMYK) or the B value (in HSB))!!!

Can somebody help me with this problem? Can I trust "rtiff"? Should I stick to a very slow process in ArcGIS? Why PS, which should be the perfect measuring stick, is showing another set of values?

Thanks in advance. Regards.

Julio



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 22 Apr 2011 - 09:26:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 14:10:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive