Skip to content

Commit

Permalink
fixed lutconf bug
Browse files Browse the repository at this point in the history
  • Loading branch information
se6astian-pi committed Apr 4, 2019
1 parent 9164fee commit a0fb7d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions software/scripts/gamma_conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd $(dirname $(realpath $0)) # change into script dir
MAX=65536
GAMMA=${1:-1.0}

../processing_tools/lut_conf3/lut_conf3 -N 4096 -M $MAX -G $GAMMA -B 0x80300000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -M $MAX -G $GAMMA -B 0x80304000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -M $MAX -G $GAMMA -B 0x80308000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -M $MAX -G $GAMMA -B 0x8030C000
../processing_tools/lut_conf/lut_conf -N 4096 -M $MAX -G $GAMMA -B 0x80300000
../processing_tools/lut_conf/lut_conf -N 4096 -M $MAX -G $GAMMA -B 0x80304000
../processing_tools/lut_conf/lut_conf -N 4096 -M $MAX -G $GAMMA -B 0x80308000
../processing_tools/lut_conf/lut_conf -N 4096 -M $MAX -G $GAMMA -B 0x8030C000
8 changes: 4 additions & 4 deletions software/scripts/linear_conf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ MAX=131071
FACTOR=`dc -e "5k ${1:-1.0} 0.5 * p"`
OFFSET=`dc -e "5k ${2:-0.0} 65536 * p"`

../processing_tools/lut_conf3/lut_conf3 -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60500000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60504000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60508000
../processing_tools/lut_conf3/lut_conf3 -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x6050C000
../processing_tools/lut_conf/lut_conf -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60500000
../processing_tools/lut_conf/lut_conf -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60504000
../processing_tools/lut_conf/lut_conf -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x60508000
../processing_tools/lut_conf/lut_conf -N 4096 -m $MIN -M $MAX -F $FACTOR -O $OFFSET -B 0x6050C000

0 comments on commit a0fb7d0

Please sign in to comment.