Changes between Version 13 and Version 14 of plugin


Ignore:
Timestamp:
Dec 16, 2010, 1:55:42 PM (14 years ago)
Author:
bpt
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • plugin

    v13 v14  
    8282
    8383
    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.
     84The 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
     86The ''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.
    8787
    8888The ''getName'' method should return the name of the Batchable for inclusion in the ''Plugins'' menu on the psychomorph Transform window.  Both Batch and single versions of the plugin will be added to the menu.