ij.plugin
Class Binner
- java.lang.Object
-
- ij.plugin.Binner
-
- All Implemented Interfaces:
- PlugIn
public class Binner extends java.lang.Object implements PlugIn
This plugin implements the Image/Transform/Bin command. It reduces the size of an image or stack by binning groups of pixels of user-specified sizes. The resulting pixel can be calculated as average, median, maximum or minimum.
-
-
Field Summary
Fields Modifier and Type Field and Description static intAVERAGEstatic intMAXstatic intMEDIANstatic intMINstatic intSUM
-
Constructor Summary
Constructors Constructor and Description Binner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidrun(java.lang.String arg)This method is called when the plugin is loaded.ImagePlusshrink(ImagePlus imp, int xshrink, int yshrink, int zshrink, int method)ImageProcessorshrink(ImageProcessor ip, int xshrink, int yshrink, int method)ImagePlusshrinkHyperstackZ(ImagePlus imp, int zshrink)
-
-
-
Field Detail
-
AVERAGE
public static int AVERAGE
-
MEDIAN
public static int MEDIAN
-
MIN
public static int MIN
-
MAX
public static int MAX
-
SUM
public static int SUM
-
-
Method Detail
-
run
public void run(java.lang.String arg)
Description copied from interface:PlugInThis method is called when the plugin is loaded. 'arg', which may be blank, is the argument specified for this plugin in IJ_Props.txt.
-
shrink
public ImageProcessor shrink(ImageProcessor ip, int xshrink, int yshrink, int method)
-
-
DMelt 3.0 © DataMelt by jWork.ORG