Closed dunckelk closed 5 years ago
That's not the purpose of that code. The original geotags are added back in so that the stacked images can then be processed in a photogrammetry suite. The orientations and locations of the images are not available without this further processing.
Hey, thanks Justin,
It would be much cooler if it was. Do you have any recommendations for where and how to georeference?
For most applications that's the purpose and function of a photogrammetry suite like pix4d or agisoft.
Alternatively it would be possible to directly georeference the images if you were to provide very accurate pose information during the flight or had that information available post flight, but this usually requires a very expensive RTK or PPK GPS with an accurate IMU to provide that information separately.
The result is the same either way: it's not enough to know where the images are taken at relatively low GPS precision, you need that information much more accurately and you also need to know what the (very accurate) pose information is for each image. You also need the shape of the surface imaged. All of this is provided by the photogrammetry process using only the low accuracy GPS information in the image metadata.
Otherwise, without using photogrammetry, all of this information has to come from an external source to be able to directly georeference the imagery.
Ok, can I use Atlas for that? Also (since you are responding to me, which is great!) does the Batch Processing code account for the basic radiometric corrections and conversion to reflectance, or do I have to do that separately?
Thank you, Justin!
Kathleen
The purpose of the batch processing code is to create an open reference implementation of our recommended radiometric calibration process, which can then be paired with a photogrammetry suite to generate geo-referenced maps. So yes, it creates radiometrically compensated stacked tiff images. It's not intended as a general production solution or a replacement for those processing options.
There are three primary users of this code in mind:
Atlas does not process individual images. If your use case is the more general "I took pictures and I want a map without much hassle," I recommend using one of the above named systems.
For more generalized support outside of specific issues with this codebase, it's best to use the standard MicaSense support process.
The last step in the batch processing work flow is to write spatial metadata back to the images (.tif), however, my images just show up on top of each other in a GIS - when I check the metadata (i.e., log.csv) it has different coordinate data for each, why does this not translate to their positioning in a GIS?
import subprocess
old_dir = os.getcwd() os.chdir(outputPath) cmd = 'exiftool -csv="{}" -overwrite_original .'.format(fullCsvPath) print(cmd) try: subprocess.check_call(cmd) finally: os.chdir(old_dir)