mtb_io
Class Save_Image_MTB

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

public class Save_Image_MTB
extends java.lang.Object
implements ij.plugin.filter.PlugInFilter, java.beans.PropertyChangeListener, loci.common.StatusListener

Plugin for image save dialog

Author:
Oliver Gress

Field Summary
protected  int codec
          codec option if available
protected  java.lang.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
private static long serialVersionUID
           
 
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
 javax.swing.JFileChooser createFileChooser()
          Create a file chooser configured for image writing, adding a panel for image writer options
 void propertyChange(java.beans.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(java.lang.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

codec

protected int codec
codec option if available


compression

protected java.lang.String compression
compression option if available


fps

protected int fps
frames per second option if available


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)


quality

protected int quality
quality option if available


serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

Save_Image_MTB

public Save_Image_MTB()
Method Detail

createFileChooser

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


propertyChange

public void propertyChange(java.beans.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 java.beans.PropertyChangeListener

run

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

setup

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

statusUpdated

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