}
protected ImageTile get4326(GeoTIFFImageReader gtid, ImageTile.Cache cache)
throws IOException {
// GCS_WGS_84
GeoTIFFDirectory gtfd = gtfFile.getGtfDirectory();
// There's got to be a way to figure out the pixel height and width of
// the image without having to create the BufferedImage. We need those
// for georeferencing the lower right corner right now, but it would be
// good to only create the image if an ImageDecoder and cache weren't
// provided.
double[] tiePoints = gtfd.getTiepoints();
double[] scaleMatrix = gtfd.getPixelScale();
int imageWidth = gtfFile.getFieldIntValue(256);
int imageHeight = gtfFile.getFieldIntValue(257);
double ulat = tiePoints[4] + tiePoints[1] * scaleMatrix[1];