How to run:

java -arg1 -arg2 -arg3

  • First argument is the path to the first image.
  • Second argument is the path to the second image.
  • Third argument is the path where to save result image. (Example ./result.png)