#!/bin/bash
#SBATCH -N 1
#SBATCH -n 40
parallel_stereo --alignment-method none \
              --stereo-algorithm 1 \
              --sgm-collar-size 512 \
              --corr-tile-size 1024 \
              --corr-memory-limit-mb 1300 \
                            --threads-multiprocess 40 \
                            --threads-singleprocess 20 \
                            --cost-mode 4 --corr-kernel 7 7 \
                            --subpixel-mode 7 \
              p1/left_mapped_ba.tif p1/right_mapped_ba.tif \
              --bundle-adjust-prefix p1/run_ba/run \
              p1/run_pc/out dem-adj.tif




