Class ProjectedLandweberDeconvolutionImageFilter

java.lang.Object
org.itk.simple.ProcessObject
org.itk.simple.ImageFilter
org.itk.simple.ProjectedLandweberDeconvolutionImageFilter

public class ProjectedLandweberDeconvolutionImageFilter extends ImageFilter
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
  • 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

      protected static long getCPtr(ProjectedLandweberDeconvolutionImageFilter obj)
    • swigRelease

      protected static long swigRelease(ProjectedLandweberDeconvolutionImageFilter obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class ImageFilter
    • delete

      public void delete()
      virtual itk::simple::ProjectedLandweberDeconvolutionImageFilter::~ProjectedLandweberDeconvolutionImageFilter() Destructor
      Overrides:
      delete in class ImageFilter
    • 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

      public String getName()
      std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::GetName() const Name of this class
      Overrides:
      getName in class ProcessObject
    • toString

      public String toString()
      std::string itk::simple::ProjectedLandweberDeconvolutionImageFilter::ToString() const Print ourselves out
      Overrides:
      toString in class ProcessObject
    • execute

      public Image execute(Image image1, Image image2)
      Image itk::simple::ProjectedLandweberDeconvolutionImageFilter::Execute(const Image &image1, const Image &image2) Execute the filter on the input images