mtb_io
Class Save_Image_MTB

java.lang.Object
  extended by mtb_io.Save_Image_MTB
All Implemented Interfaces:
ij.plugin.filter.PlugInFilter, PropertyChangeListener, EventListener, loci.common.StatusListener

@ALDMetaInfo(export=MANDATORY)
public class Save_Image_MTB
extends Object
implements ij.plugin.filter.PlugInFilter, PropertyChangeListener, loci.common.StatusListener

Plugin for image save dialog

Author:
Oliver Gress

Field Summary
protected  int codec
          codec option if available
protected  String compression
          compression option if available
protected  int fps
          frames per second option if available
protected  MTBImage img
           
protected  ij.ImagePlus imp
           
protected  ImageWriterOptionsPane iwop
          a panel for image writer options (set as accessory of a JFileChooser)
protected  int quality
          quality option if available
 
Fields inherited from interface ij.plugin.filter.PlugInFilter
CONVERT_TO_FLOAT, DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, FINAL_PROCESSING, KEEP_THRESHOLD, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, PARALLELIZE_IMAGES, PARALLELIZE_STACKS, ROI_REQUIRED, SNAPSHOT, STACK_REQUIRED, SUPPORTS_MASKING
 
Constructor Summary
Save_Image_MTB()
           
 
Method Summary
 JFileChooser createFileChooser()
          Create a file chooser configured for image writing, adding a panel for image writer options
 void propertyChange(PropertyChangeEvent evt)
          Process the WRITER_OPTIONS_APPROVED_PROPERTY event of the ImageWriterOptionsPane to assign the writer options when the file chooser closed by approving the file selection (and thereby writer options).
 void run(ij.process.ImageProcessor arg0)
           
 int setup(String arg, ij.ImagePlus imP)
           
 void statusUpdated(loci.common.StatusEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

img

protected MTBImage img

imp

protected ij.ImagePlus imp

iwop

protected ImageWriterOptionsPane iwop
a panel for image writer options (set as accessory of a JFileChooser)


compression

protected String compression
compression option if available


fps

protected int fps
frames per second option if available


quality

protected int quality
quality option if available


codec

protected int codec
codec option if available

Constructor Detail

Save_Image_MTB

public Save_Image_MTB()
Method Detail

run

public void run(ij.process.ImageProcessor arg0)
Specified by:
run in interface ij.plugin.filter.PlugInFilter

setup

public int setup(String arg,
                 ij.ImagePlus imP)
Specified by:
setup in interface ij.plugin.filter.PlugInFilter

createFileChooser

public JFileChooser createFileChooser()
Create a file chooser configured for image writing, adding a panel for image writer options


propertyChange

public void propertyChange(PropertyChangeEvent evt)
Process the WRITER_OPTIONS_APPROVED_PROPERTY event of the ImageWriterOptionsPane to assign the writer options when the file chooser closed by approving the file selection (and thereby writer options).

Specified by:
propertyChange in interface PropertyChangeListener

statusUpdated

public void statusUpdated(loci.common.StatusEvent evt)
Specified by:
statusUpdated in interface loci.common.StatusListener


Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.