-
Notifications
You must be signed in to change notification settings - Fork 3
Post processing
Kevin Velickovic edited this page Feb 24, 2015
·
14 revisions
The post processing is started using the post_processing script
SYNOPSIS:
post_processing [OPTION...] <sourceDir> <destDir> [ -o <script> ]
DESCRIPTION:
Generate a script to process unprocessed files from <sourceDir> and place
the resulting files in <destDir>, using GNU parallel.
With recent GNU parallel versions from http://gnu.org/s/parallel, the
sshloginfile can be modified at runtime (to change the local or remote
number of jobs to run in parallel)
Arguments for the output scripts are passed to GNU parallel. They can also
be specified in the PARALLEL environment variable (or with the -p option
when queue mode is enabled with --run).
QUEUE MODE:
If no output script name, or option --run is set, the processing is started
immediately (before the full list of timestamps is built), using the output
script as a queue, until "EOQ" is queued
RESUME PROCESSING:
To resume processing, run the output script again.
OPTIONS SUMMARY:
-h,--help display this
-s,--shuffle process progressively instead of sequentially
-o,--output <script> set output script name
-r,--run start processing immediately in queue mode
-p,--parallel <options> when -r is specified, set gnu parallel options
-l,--logdir <path> set log directory
-f,--filelist <file_list> files to process. <sourceDir> will be ignored
-x,--xml <path> imagej-elphel xml preferences path
-m,--mem <memory> memory to allocate for ImageJ
-S,--split-at <count> number of jp4 per XML Default is one timestamp
-t,--truncate eg if split == 8 and you dont want the 9th jp4
to be put in the next xml
-M,--folder-max maximum number of files per output directory
/data/footage/capture/0/ # Source path containing JP4 images
/data/footage/capture/processed # Destination path to store processed images
-x /data/camera/00-0E-64-08-1C-D2/info/imagej-elphel/prefs.xml # Path to correction XML file
post_processing /data/footage/capture/0/ \
/data/footage/capture/processed \
-x /data/camera/00-0E-64-08-1C-D2/info/imagej-elphel/prefs.xml
Documentation under CC BY-SA license (c) 2014-2015 FOXEL SA