summaryrefslogtreecommitdiff
path: root/warp-mix-dirs.sh
diff options
context:
space:
mode:
authorjules@lens <julescarbon@gmail.com>2018-05-12 19:08:05 +0200
committerjules@lens <julescarbon@gmail.com>2018-05-12 19:08:05 +0200
commitb0deb14cfcb5ddb64f7e316606d7734e06247918 (patch)
tree5abe6b3eeb282def96b21cc907bfedd2e4485ad3 /warp-mix-dirs.sh
parent4a444b75c02b2c56f97784a08873125074374256 (diff)
try reusing flow or soHEADmaster
Diffstat (limited to 'warp-mix-dirs.sh')
-rwxr-xr-xwarp-mix-dirs.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/warp-mix-dirs.sh b/warp-mix-dirs.sh
index 9ce74c7..136d087 100755
--- a/warp-mix-dirs.sh
+++ b/warp-mix-dirs.sh
@@ -68,8 +68,9 @@ do
convert -verbose "$a" PNG24:tmp_normalized_0.png
convert -verbose "$b" PNG24:tmp_normalized_1.png
- if [ $A_ITER -eq 1 ]
+ if [ "$A_ITER" -eq 1 ]
then
+ echo "generating optical flow..."
./makeOptFlow.sh tmp_normalized_%01d.png flow 0
fi