ImageJ/Fiji does not always open GeoTIFF files. For example, written from ESRI products or the writeRaster function in raster(). This function gets around this issue by re-writing a problematic GeoTIFF using rgdal().

geotiff.for.imagej(file_name, write_name)

Arguments

file_name

File name of GeoTIFF raster to be used in ImageJ/Fiji.

write_name

File name of new GeoTIFF raster to be used in ImageJ/Fiji.

Value

A georeferenced image file (GeoTIFF) that can be read by ImageJ/Fiji.