public class Resizer extends Object implements PlugIn, TextListener, ItemListener
| Constructor and Description |
|---|
Resizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
itemStateChanged(ItemEvent e) |
void |
run(String arg)
This method is called when the plugin is loaded.
|
void |
setAverageWhenDownsizing(boolean averageWhenDownsizing) |
void |
textValueChanged(TextEvent e) |
ImagePlus |
zScale(ImagePlus imp,
int newDepth,
int interpolationMethod) |
public static final int IN_PLACE
public static final int SCALE_T
public void run(String arg)
PlugInpublic void textValueChanged(TextEvent e)
textValueChanged in interface TextListenerpublic void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenerpublic void setAverageWhenDownsizing(boolean averageWhenDownsizing)
Copyright © 1997–2018 NIH. All rights reserved.