Hi Oleg, I hope everything is ok from you side.
I am using ASP to perform image correlation for surface displacements analysis wit hthe recent developpments ('--correlator-mode'). Below an exemple of the used command:
parallel_stereo --correlator-mode 20030715.tif 20130814.tif run_mgm7_xc10/run --threads-multiprocess 6 --processes 1 --stereo-algorithm 2 --corr-kernel 7 7 --xcorr-threshold 10 --corr-tile-size 2048 --corr-memory-limit-mb 8000 --save-left-right-disparity-difference
However, when I changed the kernel size to 15x15 or 21x21, I got the following error:
```
Stereo file ./stereo.default could not be found. Will use default settings and command line options only.
num_stereo_pairs,1
Using session: rpc
For this kernel size, use --cost-mode 2, 1, or 0, with 2 preferred.
None
Traceback (most recent call last):
File "/home/cusicand/ASP_install/StereoPipeline-3.1.0-2022-05-18-x86_64-Linux/libexec/parallel_stereo", line 815, in <module>
settings = run_and_parse_output("stereo_parse", args, sep, opt.verbose)
File "/home/cusicand/ASP_install/StereoPipeline-3.1.0-2022-05-18-x86_64-Linux/libexec/asp_system_utils.py", line 294, in run_and_parse_output
raise Exception('Failed executing: ' + " ".join(call))
Exception: Failed executing: /home/cusicand/ASP_install/StereoPipeline-3.1.0-2022-05-18-x86_64-Linux/libexec/stereo_parse --correlator-mode 20030715.tif 20130814.tif run_mgm15_xc10/run --stereo-algorithm 2 --corr-kernel 15 15 --xcorr-threshold 10 --corr-tile-size 2048 --corr-memory-limit-mb 8000 --save-left-right-disparity-difference --corr-seed-mode 1
```
I verified the stereo.default for "shifted text" as mentioned in
this previous discussion, but everything seems to be OK.
Thank you very much for your help.
Best regards
Diego