ICEAutomation icon indicating copy to clipboard operation
ICEAutomation copied to clipboard

A command line application to bach process image stitching using the marvellous Image Compose Editor (ICE).

ICE Automation

A command line application to bach process image stitching using the marvellous Image Compose Editor (ICE).

Build

Now the project has moved to netcoreapp3.1. I recommend you to use VS Code to work with it, but only .net core 3.1 SDK is required. Follow this:

  1. install dot.net core 3.1 SDK
  2. open a cmd, move to your folder and execute:
> git clone https://github.com/danice/ICEAutomation.git
> cd ICEAutomation
> dotnet build

You will found the compiled files in \ICEAutomation\src\bin\Debug\netcoreapp3.1 Next adjust the ICEAutomation.bat to point to this folder. Then copy the batch file to c:\Windows or some folder in system Path so you can execute the application from any folder.

Instructions

  1. open a command line and move to the folder where your images are
  2. execute
  • "ICEAutomation compose [file1] [file2] [file3...]" to stitch those files
  • "ICEAutomation process" to process all *.JPG files in current folder in groups of 3
  • "ICEAutomation process [num]" to process all *.JPG files in current folder in groups of [num]
  • "ICEAutomation process [num] [ext]" to process all files with extension [ext] in current folder in groups of [num]
  • "ICEAutomation process [num] [ext] [folder]" to process all files with extension [ext] in [folder] in groups of [num]
  • "ICEAutomation structure [num] [ext] [folder]" process as before but using structure panorama

Options:

  • --motion: to specify Camera motion type. Default: autoDetect. Possible values: autoDetect , planarMotion, planarMotionWithSkew, planarMotionWithPerspective, rotatingMotion]
  • --save: saves stich processing file

Structure panorama options:

  • --initial-corner: topLef (default), topRight, bottomLeft, bottomRight
  • --rows: Number of rows. If defined the direction will be down (if intial corner is top) or up (if initial corner is bottom)
  • --cols: Number of columns. If defined the direction will be right (if intial corner is left) or left (if initial corner is right)
  • --order: serpentine, zigzag
  • --angular-range: less360, horiz, vert (pending)
  • --horizontal-overlap
  • --vertical-overlap
  • --search-radious (pending)
  • --auto-overlap (pending)

Warning

The application uses button labels to automate ICE. Depending of your environment this names can change (for example "Save" button). You can configure the button labels in your ICE in app.config.

The processed files will be copied in the last folder used by ICE. So I recommend firt executing manually a stich to select the destination folder.