java.lang.Object
ij.plugin.Scaler
- All Implemented Interfaces:
PlugIn
,FocusListener
,TextListener
,EventListener
This plugin implements the Image/Scale command.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
static void
static ImagePlus
Returns a scaled copy of this image or ROI, where the 'options' string can contain 'none', 'bilinear'.void
This method is called when the plugin is loaded.void
-
Constructor Details
-
Scaler
public Scaler()
-
-
Method Details
-
run
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. -
resize
public static ImagePlus resize(ImagePlus imp, int dstWidth, int dstHeight, int dstDepth, String options) Returns a scaled copy of this image or ROI, where the 'options' string can contain 'none', 'bilinear'. 'bicubic', 'slice' and 'constrain'. -
record
-
textValueChanged
- Specified by:
textValueChanged
in interfaceTextListener
-
focusGained
- Specified by:
focusGained
in interfaceFocusListener
-
focusLost
- Specified by:
focusLost
in interfaceFocusListener
-