Error When Computing Optical Flow
I have the following error :
ReadFlowFile: could not open %s
Segmentation fault (core dumped)
When calling :
./optical_flow -f1 im1.png -f2 img2.png
The error takes place after computation ( coutdown ) and is linked to the computation of the flow error compared to the refFlow file when it is not given. In this case the program use a default value "ground_truth/grove3.flo" which, being not present in the user file sytstem is making the program crash.
Possible resolutions :
- Make "-er" parameter disabled by default and make "-refFlow" mandatory if er is enabled. or
- Only enable "-er" if a "refFlow" is provided by the user.