Loving StereoAutoAlign v0.30 on my Mac (macOS Sonoma 14.4). One small problem. If the program has problems doing an alignment, it outputs the message...
Unfortunately, these are image pairs that cannot be automatically aligned !
... and no output file is created. However, even thought the program encounter an error, it still exists with a 0 status which indicates success to shell. For compatibility for use within shell scripting, the program should exit with a positive, non-zero value if there was any sort of error where the program failed to produce expected output. For example "exit(2)" where 2 could be the code used the particular failure shown above.
I am not running a Windows box, so I could not confirm if the Windows version of this utility sets the %errorlevel% environment variable which services the same purpose on that operating system. See:
https://stackoverflow.com/questions/334879/how-do-i-get-the-application-exit-code-from-a-windows-command-line |
|