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://doi.org/10.54294/tvgfv1
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 classstatic 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 parametersprotectedProjectedLandweberDeconvolutionImageFilter(long cPtr, boolean cMemoryOwn) -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() DestructorImage itk::simple::ProjectedLandweberDeconvolutionImageFilter::Execute(const Image &image1, const Image &image2) Execute the filter on the input imagesprotected voidfinalize()doublegetAlpha()double itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetAlpha() const Get the relaxation factor.BoundaryConditionType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetBoundaryCondition() constprotected static longgetName()std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetName() const Name of this classbooleanbool itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNormalize() constintint itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNumberOfIterations() const Get the number of iterations.OutputRegionModeType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetOutputRegionMode() constvoidSelf& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOff()voidSelf& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOn() Set the value of Normalize to true or false respectfully.voidsetAlpha(double Alpha) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetAlpha(double Alpha) Set the relaxation factor.voidsetBoundaryCondition(ProjectedLandweberDeconvolutionImageFilter.BoundaryConditionType BoundaryCondition) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetBoundaryCondition(BoundaryConditionType BoundaryCondition)voidsetNormalize(boolean Normalize) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNormalize(bool Normalize) Normalize the output image by the sum of the kernel componentsvoidsetNumberOfIterations(int NumberOfIterations) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNumberOfIterations(int NumberOfIterations) Set the number of iterations.voidsetOutputRegionMode(ProjectedLandweberDeconvolutionImageFilter.OutputRegionModeType OutputRegionMode) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetOutputRegionMode(OutputRegionModeType OutputRegionMode)protected static longtoString()std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves outMethods inherited from class org.itk.simple.ImageFilter
getCPtr, swigReleaseMethods 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:
finalizein classImageFilter
-
delete
public void delete()virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() Destructor- Overrides:
deletein 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:
getNamein classProcessObject
-
toString
std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves out- Overrides:
toStringin classProcessObject
-
execute
-