Package org.itk.simple
Class ProjectedLandweberDeconvolutionImageFilter
java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ProjectedLandweberDeconvolutionImageFilter
Deconvolve an image using the projected Landweber deconvolution
algorithm.
This filter performs the same calculation per iteration as the LandweberDeconvolutionImageFilter . However, at each iteration, negative pixels in the intermediate
result are projected (set) to zero. This is useful if the solution is
assumed to always be non-negative, which is the case when dealing with
images formed by counting photons, for example.
This code was adapted from the Insight Journal contribution:
"Deconvolution: infrastructure and reference algorithms" by Gaetan
Lehmann https://www.insight-journal.org/browse/publication/753
Gaetan Lehmann, Biologie du Developpement et de la Reproduction, INRA
de Jouy-en-Josas, France
Cory Quammen, The University of North Carolina at Chapel Hill
See:
IterativeDeconvolutionImageFilter
RichardsonLucyDeconvolutionImageFilter
LandweberDeconvolutionImageFilter
itk::simple::ProjectedLandweberDeconvolution for the procedural interface
itk::ProjectedLandweberDeconvolutionImageFilter for the Doxygen on the original ITK class.
C++ includes: sitkProjectedLandweberDeconvolutionImageFilter.h
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
-
Field Summary
Fields inherited from class org.itk.simple.ProcessObject
swigCMemOwn
-
Constructor Summary
ConstructorsModifierConstructorDescriptionitk::simple::ProjectedLandweberDeconvolutionImageFilter::ProjectedLandweberDeconvolutionImageFilter() Default Constructor that takes no arguments and initializes default parametersprotected
ProjectedLandweberDeconvolutionImageFilter
(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() DestructorImage itk::simple::ProjectedLandweberDeconvolutionImageFilter::Execute(const Image &image1, const Image &image2) Execute the filter on the input imagesprotected void
finalize()
double
getAlpha()
double itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetAlpha() const Get the relaxation factor.BoundaryConditionType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetBoundaryCondition() constprotected static long
getName()
std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetName() const Name of this classboolean
bool itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNormalize() constint
int itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNumberOfIterations() const Get the number of iterations.OutputRegionModeType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetOutputRegionMode() constvoid
Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOff()void
Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOn() Set the value of Normalize to true or false respectfully.void
setAlpha
(double Alpha) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetAlpha(double Alpha) Set the relaxation factor.void
setBoundaryCondition
(ProjectedLandweberDeconvolutionImageFilter.BoundaryConditionType BoundaryCondition) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetBoundaryCondition(BoundaryConditionType BoundaryCondition)void
setNormalize
(boolean Normalize) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNormalize(bool Normalize) Normalize the output image by the sum of the kernel componentsvoid
setNumberOfIterations
(int NumberOfIterations) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNumberOfIterations(int NumberOfIterations) Set the number of iterations.void
setOutputRegionMode
(ProjectedLandweberDeconvolutionImageFilter.OutputRegionModeType OutputRegionMode) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetOutputRegionMode(OutputRegionModeType OutputRegionMode)protected static long
toString()
std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigRelease
Methods inherited from class org.itk.simple.ProcessObject
abort, addCommand, debugOff, debugOn, getCPtr, getDebug, getGlobalDefaultCoordinateTolerance, getGlobalDefaultDebug, getGlobalDefaultDirectionTolerance, getGlobalDefaultNumberOfThreads, getGlobalDefaultThreader, getGlobalWarningDisplay, getNumberOfThreads, getNumberOfWorkUnits, getProgress, globalDefaultDebugOff, globalDefaultDebugOn, globalWarningDisplayOff, globalWarningDisplayOn, hasCommand, removeAllCommands, setDebug, setGlobalDefaultCoordinateTolerance, setGlobalDefaultDebug, setGlobalDefaultDirectionTolerance, setGlobalDefaultNumberOfThreads, setGlobalDefaultThreader, setGlobalWarningDisplay, setNumberOfThreads, setNumberOfWorkUnits, swigRelease
-
Constructor Details
-
ProjectedLandweberDeconvolutionImageFilter
protected ProjectedLandweberDeconvolutionImageFilter(long cPtr, boolean cMemoryOwn) -
ProjectedLandweberDeconvolutionImageFilter
public ProjectedLandweberDeconvolutionImageFilter()itk::simple::ProjectedLandweberDeconvolutionImageFilter::ProjectedLandweberDeconvolutionImageFilter() Default Constructor that takes no arguments and initializes default parameters
-
-
Method Details
-
getCPtr
-
swigRelease
-
finalize
protected void finalize()- Overrides:
finalize
in classImageFilter
-
delete
public void delete()virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() Destructor- Overrides:
delete
in classImageFilter
-
setAlpha
public void setAlpha(double Alpha) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetAlpha(double Alpha) Set the relaxation factor. -
getAlpha
public double getAlpha()double itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetAlpha() const Get the relaxation factor. -
setNumberOfIterations
public void setNumberOfIterations(int NumberOfIterations) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNumberOfIterations(int NumberOfIterations) Set the number of iterations. -
getNumberOfIterations
public int getNumberOfIterations()int itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNumberOfIterations() const Get the number of iterations. -
setNormalize
public void setNormalize(boolean Normalize) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNormalize(bool Normalize) Normalize the output image by the sum of the kernel components -
normalizeOn
public void normalizeOn()Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOn() Set the value of Normalize to true or false respectfully. -
normalizeOff
public void normalizeOff()Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOff() -
getNormalize
public boolean getNormalize()bool itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNormalize() const -
setBoundaryCondition
public void setBoundaryCondition(ProjectedLandweberDeconvolutionImageFilter.BoundaryConditionType BoundaryCondition) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetBoundaryCondition(BoundaryConditionType BoundaryCondition) -
getBoundaryCondition
BoundaryConditionType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetBoundaryCondition() const -
setOutputRegionMode
public void setOutputRegionMode(ProjectedLandweberDeconvolutionImageFilter.OutputRegionModeType OutputRegionMode) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetOutputRegionMode(OutputRegionModeType OutputRegionMode) -
getOutputRegionMode
OutputRegionModeType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetOutputRegionMode() const -
getName
std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetName() const Name of this class- Overrides:
getName
in classProcessObject
-
toString
std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves out- Overrides:
toString
in classProcessObject
-
execute
Image itk::simple::ProjectedLandweberDeconvolutionImageFilter::Execute(const Image &image1, const Image &image2) Execute the filter on the input images
-