mpicbg.ij.plugin
Class AbstractBlockFilter

java.lang.Object
  extended by mpicbg.ij.plugin.AbstractBlockFilter
All Implemented Interfaces:
DialogListener, ExtendedPlugInFilter, PlugInFilter
Direct Known Subclasses:
AbstractBlockStatistics, NormalizeLocalContrast, RemoveOutliers

public abstract class AbstractBlockFilter
extends Object
implements ExtendedPlugInFilter, DialogListener

Abstract base class for variance and STD filters.

Version:
0.1a
Author:
Stephan Saalfeld

Field Summary
protected static int blockRadiusX
           
protected static int blockRadiusY
           
protected  int brx
           
protected  int bry
           
protected static int flags
           
protected  FloatProcessor[] fps
           
protected  ImageProcessor pip
           
 
Fields inherited from interface ij.plugin.filter.ExtendedPlugInFilter
KEEP_PREVIEW
 
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
AbstractBlockFilter()
           
 
Method Summary
protected abstract  void copyParameters()
           
 boolean dialogItemChanged(GenericDialog gd, AWTEvent e)
           
protected abstract  String dialogTitle()
           
protected  void init(ImagePlus imp)
           
protected abstract  void process(int i)
           
 void run(ImageProcessor ip)
           
 void setNPasses(int nPasses)
           
 int setup(String arg, ImagePlus imp)
           
 int showDialog(ImagePlus imp, String command, PlugInFilterRunner pfr)
           
protected  void toByte(byte[] bytes)
           
protected  void toRGB(int[] rgbs)
           
protected  void toShort(short[] shorts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

blockRadiusX

protected static int blockRadiusX

blockRadiusY

protected static int blockRadiusY

brx

protected int brx

bry

protected int bry

flags

protected static final int flags
See Also:
Constant Field Values

fps

protected FloatProcessor[] fps

pip

protected ImageProcessor pip
Constructor Detail

AbstractBlockFilter

public AbstractBlockFilter()
Method Detail

dialogTitle

protected abstract String dialogTitle()

copyParameters

protected abstract void copyParameters()

process

protected abstract void process(int i)

init

protected void init(ImagePlus imp)

toRGB

protected void toRGB(int[] rgbs)

toByte

protected void toByte(byte[] bytes)

toShort

protected void toShort(short[] shorts)

setup

public int setup(String arg,
                 ImagePlus imp)
Specified by:
setup in interface PlugInFilter

showDialog

public int showDialog(ImagePlus imp,
                      String command,
                      PlugInFilterRunner pfr)
Specified by:
showDialog in interface ExtendedPlugInFilter

dialogItemChanged

public boolean dialogItemChanged(GenericDialog gd,
                                 AWTEvent e)
Specified by:
dialogItemChanged in interface DialogListener

run

public void run(ImageProcessor ip)
Specified by:
run in interface PlugInFilter

setNPasses

public void setNPasses(int nPasses)
Specified by:
setNPasses in interface ExtendedPlugInFilter


Copyright © 2007-2016 Fiji. All Rights Reserved.