This function can transform the points saved from ImageJ/Fiji in image coordinates (col, row) with origin (1,1) to the coordinate reference system (CRS) cooresponding to the image used for marking.

landmarks.to.crs(file_name, r)

Arguments

file_name

File name of text file with point coordinates that was saved from ImageJ

r

A Raster* object