public class ExtremeValueTruncationFilter extends IndividualImagePipelineFilteringTool
This filter thresholds the values in imageProcessors.
The filter also attempts to replace NaNs pixels via interpolation.
Note. Interpolation is only successful when all adjacent pixels have real values.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MAX |
static java.lang.String |
MIN |
Constructor and Description |
---|
ExtremeValueTruncationFilter() |
Modifier and Type | Method and Description |
---|---|
Grid2D |
applyToolToImage(Grid2D 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) |
void |
setThreshold(double threshold) |
getPipeline, getProjectionSource, getSink, run, setPipeline, setProjectionSource, setSink
getFilteredImage, getImageIndex, getProcessName, prepareForSerialization, setImageIndex, setImageProcessor, setLatch
getFilterTools, isConfigured, setConfigured, toString
public static final java.lang.String MIN
public static final java.lang.String MAX
public Grid2D applyToolToImage(Grid2D imageProcessor) throws java.lang.Exception
IndividualImageFilteringTool
applyToolToImage
in class IndividualImagePipelineFilteringTool
imageProcessor
- the ImageProcessorjava.lang.Exception
public IndividualImageFilteringTool clone()
IndividualImageFilteringTool
clone
in class IndividualImagePipelineFilteringTool
public java.lang.String getToolName()
IndividualImagePipelineFilteringTool
getToolName
in class IndividualImagePipelineFilteringTool
public java.lang.String getBibtexCitation()
Citeable
getBibtexCitation
in interface Citeable
getBibtexCitation
in class IndividualImagePipelineFilteringTool
public java.lang.String getMedlineCitation()
Citeable
getMedlineCitation
in interface Citeable
getMedlineCitation
in class IndividualImagePipelineFilteringTool
public java.lang.String getOperation()
public void setOperation(java.lang.String operation)
public void setThreshold(double threshold)
public void configure() throws java.lang.Exception
GUIConfigurable
configure
in interface GUIConfigurable
configure
in class IndividualImagePipelineFilteringTool
java.lang.Exception
- may happenpublic boolean isDeviceDependent()
isDeviceDependent
in class IndividualImagePipelineFilteringTool