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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classstatic final class
- 
Field SummaryFields inherited from class org.itk.simple.ProcessObjectswigCMemOwn
- 
Constructor SummaryConstructorsModifierConstructorDescriptionitk::simple::ProjectedLandweberDeconvolutionImageFilter::ProjectedLandweberDeconvolutionImageFilter() Default Constructor that takes no arguments and initializes default parametersprotectedProjectedLandweberDeconvolutionImageFilter(long cPtr, boolean cMemoryOwn) 
- 
Method SummaryModifier 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.ImageFiltergetCPtr, swigReleaseMethods inherited from class org.itk.simple.ProcessObjectabort, 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- 
ProjectedLandweberDeconvolutionImageFilterprotected ProjectedLandweberDeconvolutionImageFilter(long cPtr, boolean cMemoryOwn) 
- 
ProjectedLandweberDeconvolutionImageFilterpublic ProjectedLandweberDeconvolutionImageFilter()itk::simple::ProjectedLandweberDeconvolutionImageFilter::ProjectedLandweberDeconvolutionImageFilter() Default Constructor that takes no arguments and initializes default parameters
 
- 
- 
Method Details- 
getCPtr
- 
swigRelease
- 
finalizeprotected void finalize()- Overrides:
- finalizein class- ImageFilter
 
- 
deletepublic void delete()virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() Destructor- Overrides:
- deletein class- ImageFilter
 
- 
setAlphapublic void setAlpha(double Alpha) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetAlpha(double Alpha) Set the relaxation factor.
- 
getAlphapublic double getAlpha()double itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetAlpha() const Get the relaxation factor.
- 
setNumberOfIterationspublic void setNumberOfIterations(int NumberOfIterations) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNumberOfIterations(int NumberOfIterations) Set the number of iterations.
- 
getNumberOfIterationspublic int getNumberOfIterations()int itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNumberOfIterations() const Get the number of iterations.
- 
setNormalizepublic void setNormalize(boolean Normalize) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetNormalize(bool Normalize) Normalize the output image by the sum of the kernel components
- 
normalizeOnpublic void normalizeOn()Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOn() Set the value of Normalize to true or false respectfully.
- 
normalizeOffpublic void normalizeOff()Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::NormalizeOff()
- 
getNormalizepublic boolean getNormalize()bool itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetNormalize() const
- 
setBoundaryConditionpublic void setBoundaryCondition(ProjectedLandweberDeconvolutionImageFilter.BoundaryConditionType BoundaryCondition) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetBoundaryCondition(BoundaryConditionType BoundaryCondition)
- 
getBoundaryConditionBoundaryConditionType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetBoundaryCondition() const
- 
setOutputRegionModepublic void setOutputRegionMode(ProjectedLandweberDeconvolutionImageFilter.OutputRegionModeType OutputRegionMode) Self& itk::simple::ProjectedLandweberDeconvolutionImageFilter::SetOutputRegionMode(OutputRegionModeType OutputRegionMode)
- 
getOutputRegionModeOutputRegionModeType itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetOutputRegionMode() const
- 
getNamestd::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetName() const Name of this class- Overrides:
- getNamein class- ProcessObject
 
- 
toStringstd::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves out- Overrides:
- toStringin class- ProcessObject
 
- 
execute
 
-