Woolz Image Processing  Version 1.7.0
Name
WlzSplitMontage - splits a montage image, one that is composed of several axis aligned rectangular component images separated a gap.
Synopsis
WlzSplitMontage [-h] [-v] [-a <min area>] [-b <base>] [-g <gap value>]
[-f <fmt>] [-F <fmt>] [-t <tol>]
[-w <border width>] <path to image file>

Options
 -h Prints usage information. -v Be verbose, probably only useful for debugging. -A Use letters rather than numbers to distinguish component files. -a Minimum area for the each of the extracted components. -b Base for output file name (the default is the input file name base). -f Input image format, default is to use the input file extension. -F Output image format, default is same as input. -g Border value which must either be a single value of a comma separated triple of values (red,green,blue). -t Tolerance (percentage) for the gap value. -w Width of border added to extracted components.
Description
Splits a montage image, one that is composed of several axis aligned rectangular component images separated by a gap, with the gap having either a single value or a narrow range of values. The component images are each output to a separate file in raster scan order from top left to bottom right (approximately).
Examples
WlzSplitMontage -g 255 img.jpg

Splits the montage file img.jpg, which has pure white gaps separating the component images. The component images are written to the files img000001.jpg, img000002.jpg, etc..
File
WlzSplitMontage.c