CombineZM Help

Batch Processing

In order to process more than one stack of images and produce a stacked image for each, unattended, I have written a small program called CZBatch which you run, this program in turn runs CombineZM for each stack passing information to CZM at startup via the command line.   For this to work properly each group of frames that forms a single stack must be in a folder of it's own, withoput any other picture files, you can give these folders any name you like, this name will be used for that of the stacked picture.   Next these folders must be collected together in an outer 'Batch' folder, again any name will do.   CZM is started once for every folder inside the Batch folder and a macro you specify is run then the result saved by CZM in a new folder that is created inside the Batch folder, this new folder is called 'CZMoutputs'.   There will be one picture inside CZMoutputs for every successfull stacking.

When run CZBatch displays a dialog box

After selecting the necessary options pressing OK will hide the dialog and start CombineZM for each folder listed in the large pane.

First choose the 'Drive' where your batch folder is located, then locate and open the Batch folder so that it's contents are displayed in the large pane.   When you click on a folder name in the large pane that folder will open.   Notice the line at the top (which shows C:\*.* above) will get longer as you open nested folders, the symbol '[..]' will take you back to the containing folder and shorten this line again.

Choose a Macro to run on each stack from the dropdown list at the upper right.   Note the Macros shown here are the ones that were active the last time CombineZM was started up normally.   If you do not see the Macro you wish to run, cancel CZBatch, open CZM use Restore Default Macros or Load Macro Set which are on the Macro menu in order to load the set that contains the Macro you wish to run, close CZM which will save settings, then restart CZBatch.

Now tick any of the options you would like to take effect.   'Clip to Original Size' removes some of the untidy edges from the results.   'Save Work' saves the state of CombineZM after the macro finishes, this means you can return to this state by using Resume Work which is on the File menu of CZM.   'Save Depthmap' saves this in the CZMoutputs folder under the same name as the result but with a letter 'd' appended.   'Export Rectangles' works in the same way as the CZM menu item, it saves a set of frames which can be used, perhaps in conjunction with the depthmap, by an external program for retouching etc.

Lastly select the desired type of the output file, 'Jpeg Compression' is only meaningful for .jpg files.

Click OK to process the batch.   If CZM encounters a problem you may need to click an OK button to resume processing.

Be careful to choose the correct Batch folder before pressing OK, all folders inside it are examined by CZM.   If you make a mistake here you may have to use 'Control+Alt+Delete' and end the CombineZM and CZBatch processes, otherwise there will be a lot of dialogs to close when CZM encounters problems.

CombineZM