edu.stanford.rsl.konrad.filtering
Class ExtremeValueTruncationFilter

java.lang.Object
  extended by edu.stanford.rsl.konrad.filtering.ImageFilteringTool
      extended by edu.stanford.rsl.konrad.filtering.IndividualImageFilteringTool
          extended by edu.stanford.rsl.konrad.pipeline.IndividualImagePipelineFilteringTool
              extended by edu.stanford.rsl.konrad.filtering.ExtremeValueTruncationFilter
All Implemented Interfaces:
Citeable, GUIConfigurable, SafeSerializable, NamedParallelizableRunnable, ParallelizableRunnable, java.io.Serializable, java.lang.Cloneable, java.lang.Runnable

public class ExtremeValueTruncationFilter
extends IndividualImagePipelineFilteringTool

Filter to truncate pixel values below or above a certain threshold

Author:
Rotimi X Ojo
See Also:
Serialized Form

Field Summary
static java.lang.String MAX
           
static java.lang.String MIN
           
 
Constructor Summary
ExtremeValueTruncationFilter()
           
 
Method Summary
 ij.process.ImageProcessor applyToolToProcessor(ij.process.ImageProcessor imageProcessor)
          Is called in every thread to apply the tool to an individual ImageProcessor
 IndividualImageFilteringTool clone()
          All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.
 void configure()
          Configures the object before execution
 java.lang.String getBibtexCitation()
          Returns the citation in bibTex format
 java.lang.String getMedlineCitation()
          Returns the citation in Medline format
 java.lang.String getOperation()
           
 java.lang.String getToolName()
          returns the name of the actual tool which was used.
 boolean isDeviceDependent()
          The use may differ.
 void setOperation(java.lang.String operation)
           
 
Methods inherited from class edu.stanford.rsl.konrad.pipeline.IndividualImagePipelineFilteringTool
getPipeline, getProjectionSource, getSink, run, setPipeline, setProjectionSource, setSink
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.IndividualImageFilteringTool
applyToolToProcessor, getFilteredImageProcessor, getImageIndex, getProcessName, prepareForSerialization, setImageIndex, setImageProcessor, setLatch
 
Methods inherited from class edu.stanford.rsl.konrad.filtering.ImageFilteringTool
getFilterTools, isConfigured, setConfigured, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MIN

public static final java.lang.String MIN
See Also:
Constant Field Values

MAX

public static final java.lang.String MAX
See Also:
Constant Field Values
Constructor Detail

ExtremeValueTruncationFilter

public ExtremeValueTruncationFilter()
Method Detail

applyToolToProcessor

public ij.process.ImageProcessor applyToolToProcessor(ij.process.ImageProcessor imageProcessor)
                                               throws java.lang.Exception
Description copied from class: IndividualImageFilteringTool
Is called in every thread to apply the tool to an individual ImageProcessor

Overrides:
applyToolToProcessor in class IndividualImagePipelineFilteringTool
Parameters:
imageProcessor - the ImageProcessor
Returns:
the filtered instance of the ImageProcessor
Throws:
java.lang.Exception

clone

public IndividualImageFilteringTool clone()
Description copied from class: IndividualImageFilteringTool
All ImageFilteringTools need to be Cloneable in order to enable multiple processor usage.

Overrides:
clone in class IndividualImagePipelineFilteringTool

getToolName

public java.lang.String getToolName()
Description copied from class: IndividualImagePipelineFilteringTool
returns the name of the actual tool which was used.

Overrides:
getToolName in class IndividualImagePipelineFilteringTool
Returns:
the tool name

getBibtexCitation

public java.lang.String getBibtexCitation()
Description copied from interface: Citeable
Returns the citation in bibTex format

Specified by:
getBibtexCitation in interface Citeable
Overrides:
getBibtexCitation in class IndividualImagePipelineFilteringTool
Returns:
citation as String

getMedlineCitation

public java.lang.String getMedlineCitation()
Description copied from interface: Citeable
Returns the citation in Medline format

Specified by:
getMedlineCitation in interface Citeable
Overrides:
getMedlineCitation in class IndividualImagePipelineFilteringTool
Returns:
citation as String

getOperation

public java.lang.String getOperation()

setOperation

public void setOperation(java.lang.String operation)

configure

public void configure()
               throws java.lang.Exception
Description copied from interface: GUIConfigurable
Configures the object before execution

Specified by:
configure in interface GUIConfigurable
Overrides:
configure in class IndividualImagePipelineFilteringTool
Throws:
java.lang.Exception - may happen

isDeviceDependent

public boolean isDeviceDependent()
The use may differ. Hence device dependency can be set. Is set during configuration.

Overrides:
isDeviceDependent in class IndividualImagePipelineFilteringTool
Returns:
true if the method is device dependent.