mpicbg.ij.plugin
Class RemoveOutliers

java.lang.Object
  extended by mpicbg.ij.plugin.AbstractBlockFilter
      extended by mpicbg.ij.plugin.RemoveOutliers
All Implemented Interfaces:
DialogListener, ExtendedPlugInFilter, PlugInFilter

public class RemoveOutliers
extends AbstractBlockFilter

Remove saturated pixels by diffusing the neighbors in.

Version:
0.1a
Author:
Stephan Saalfeld

Field Summary
protected  RemoveOutliers[] rmos
           
protected static double standardDeviations
           
protected  double stds
           
 
Fields inherited from class mpicbg.ij.plugin.AbstractBlockFilter
blockRadiusX, blockRadiusY, brx, bry, flags, fps, 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
RemoveOutliers()
           
 
Method Summary
protected  void copyParameters()
           
 boolean dialogItemChanged(GenericDialog gd, AWTEvent e)
           
protected  String dialogTitle()
           
protected  void init(ImagePlus imp)
           
protected  void process(int i)
           
static void run(ImageProcessor ip, int brx, int bry, float stds)
          Remove outlier pixels from an ImageProcessor.
 int showDialog(ImagePlus imp, String command, PlugInFilterRunner pfr)
           
 
Methods inherited from class mpicbg.ij.plugin.AbstractBlockFilter
run, setNPasses, setup, toByte, toRGB, toShort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

standardDeviations

protected static double standardDeviations

stds

protected double stds

rmos

protected RemoveOutliers[] rmos
Constructor Detail

RemoveOutliers

public RemoveOutliers()
Method Detail

dialogTitle

protected String dialogTitle()
Specified by:
dialogTitle in class AbstractBlockFilter

init

protected void init(ImagePlus imp)
Overrides:
init in class AbstractBlockFilter

showDialog

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

dialogItemChanged

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

copyParameters

protected void copyParameters()
Specified by:
copyParameters in class AbstractBlockFilter

process

protected void process(int i)
Specified by:
process in class AbstractBlockFilter

run

public static void run(ImageProcessor ip,
                       int brx,
                       int bry,
                       float stds)
Remove outlier pixels from an ImageProcessor.

Parameters:
ip -
brx - block width
bry - block height
stds - how many STDs consititute the threshold for an outlier


Copyright © 2007-2016 Fiji. All Rights Reserved.