Package ij.plugin

Class Resizer

java.lang.Object
ij.plugin.Resizer
All Implemented Interfaces:
PlugIn, ItemListener, TextListener, EventListener

public class Resizer extends Object implements PlugIn, TextListener, ItemListener
This plugin implements the Edit/Crop and Image/Adjust/Size commands.
  • Field Details

  • Constructor Details

    • Resizer

      public Resizer()
  • Method Details

    • run

      public void run(String arg)
      Description copied from interface: PlugIn
      This method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
      Specified by:
      run in interface PlugIn
    • zScale

      public ImagePlus zScale(ImagePlus imp, int newDepth, int interpolationMethod)
    • textValueChanged

      public void textValueChanged(TextEvent e)
      Specified by:
      textValueChanged in interface TextListener
    • itemStateChanged

      public void itemStateChanged(ItemEvent e)
      Specified by:
      itemStateChanged in interface ItemListener
    • setAverageWhenDownsizing

      public void setAverageWhenDownsizing(boolean averageWhenDownsizing)