Changes between Version 10 and Version 11 of Procedures/RCDPhotoProcessing
- Timestamp:
- Dec 1, 2009, 3:35:20 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Procedures/RCDPhotoProcessing
v10 v11 26 26 == Tagging the TIFFs == 27 27 28 tifftagger2_exiftool is a python script that uses the exiftool command line tool too add tags to a tiff. It draws this data from an image event file. In addition to the data in the image event file the user can use several arguments to supplement the information. the -s option allows the gps location to be read from the given sbet file and is recommend if an sbet is available. 29 30 for information on the script use the -h option 31 28 32 TBC: 29 33 {{{ 30 python ~chrfi/tifftagger -v -V -p IPY09/11 -l Helheim -f 219/users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/logs/090807-120958ImageEvents1.csv /users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/images-processed/34 python tifftagger2_exiftool -V -p IPY09_11 -l Helheim -f 219 -s ~arsf/arsf_data/2009/flight_data/uk/GB08_08-2009_068_Wytham_Woods/applanix/2009068.sbet /users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/logs/090807-120958ImageEvents1.csv /users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/images-processed/ 31 35 }}} 32 36 33 for the momentto check the changes use37 to check the changes use 34 38 {{{ 35 ~chrfi/usr/bin/exiv2 -pa pr/users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/images-processed/07120958100001G4.tif39 exiftool /users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/images-processed/07120958100001G4.tif 36 40 }}} 41 42 A second script is used to then rename the files with useful names containing the project code, year and day. this script also takes the image events file and the folder containing the images as arguments and renames the files and creates a new image events file with the file names updated. 43 44 for more information on the script use -h option 45 46 {{{ 47 photo_renamer.py -v IPY09_11 2009 215 090807-120958ImageEvents1.csv /users/rsg/airborne/workspace/IPY09_11-2009_219_Helheim/leica/RCD/images-processed/ 48 49 }}} 37 50 38 51 Code needs some cleanup, putting into subversion, and a wrapper written that'll cross check on errors (e.g. compare no of images in and out).