This function wraps tiff::readTIFF()
.
Thinking of the read image as a matrix mat
, the pixel at \(x = \)i
,
\(y = \)j
has colour based on the value of mat[j, i]
where the
\(x\) axis points right and the \(y\) axis points down. However, when one
prints a matrix in a console (or views it in a program such as excel), the
value in position \(x = \)i
, \(y = \)j
is from mat[j, i]
, so if
you're confused about a phantom transposition, this is why.
If the result has