84 | | The main method in the Batchable interface is ''process'', which will be called for each image in the batch. The ''single'' parameter is true if the processing is '''not''' operating in batch mode, but on a single loaded image. This is useful for things like pushing undo information on the stack, which you may not want to do in batch mode. The ImageZoomPanel allows access to the currently loaded Image and Template. |
85 | | |
86 | | The ''initialise'' method is called once before a batch of images, or before a single image is processed. It allows access to the rest of the system state via the PsychoMorphForm parameter. The ''finish'' method is called after all the images in the list have been processed, it is not called when operating on a single image. |
| 84 | The main method in the Batchable interface is ''process'', which will be called for each image in the batch. The ''single'' parameter is true if the processing is '''not''' operating in batch mode, but on a single loaded image. This is useful for things like pushing undo information on the stack, which you may not want to do in batch mode. The [http://users.aber.ac.uk/bpt/jpsychomorph/version4/javadoc/Facemorph/psychomorph/ImageZoomPanel.html ImageZoomPanel] allows access to the currently loaded Image and Template. |
| 85 | |
| 86 | The ''initialise'' method is called once before a batch of images, or before a single image is processed. It allows access to the rest of the system state via the [http://users.aber.ac.uk/bpt/jpsychomorph/version4/javadoc/Facemorph/psychomorph/PsychoMorphForm.html PsychoMorphForm] parameter. The ''finish'' method is called after all the images in the list have been processed, it is not called when operating on a single image. |