Class AlgorithmMRIShadingCorrection

java.lang.Object
java.lang.Thread
gov.nih.mipav.model.algorithms.AlgorithmBase
gov.nih.mipav.model.algorithms.AlgorithmMRIShadingCorrection
All Implemented Interfaces:
ActionListener, WindowListener, Runnable, EventListener

public class AlgorithmMRIShadingCorrection extends AlgorithmBase
DOCUMENT ME!
  • Field Details

    • iters

      private int iters
      Number of iterations.
    • norm

      private float norm
      Normalization constant used to normalize the point force.
    • scaleX

      private float scaleX
      x and y standard deviations of Gaussians used to convolve normalized forces.
    • scaleY

      private float scaleY
      DOCUMENT ME!
    • thresholdLevel

      private float thresholdLevel
      DOCUMENT ME!
    • thresholdSelected

      private boolean thresholdSelected
      If true, don't use periphery pixels below threshold or pixels below threshold connected to periphery pixels below threshold thru a 4 neighbor chain of below threshold pixels.
  • Constructor Details

    • AlgorithmMRIShadingCorrection

      public AlgorithmMRIShadingCorrection(ModelImage srcImage, float norm, float scaleX, float scaleY, int iters, boolean thresholdSelected, float thresholdLevel)
      Creates a new AlgorithmMRIShadingCorrection object.
      Parameters:
      srcImage - original image
      norm - DOCUMENT ME!
      scaleX - DOCUMENT ME!
      scaleY - DOCUMENT ME!
      iters - DOCUMENT ME!
      thresholdSelected - DOCUMENT ME!
      thresholdLevel - DOCUMENT ME!
    • AlgorithmMRIShadingCorrection

      public AlgorithmMRIShadingCorrection(ModelImage resultImage, ModelImage srcImage, float norm, float scaleX, float scaleY, int iters, boolean thresholdSelected, float thresholdLevel)
      Creates a new AlgorithmMRIShadingCorrection object.
      Parameters:
      resultImage - shading corrected image
      srcImage - original image
      norm - DOCUMENT ME!
      scaleX - DOCUMENT ME!
      scaleY - DOCUMENT ME!
      iters - DOCUMENT ME!
      thresholdSelected - DOCUMENT ME!
      thresholdLevel - DOCUMENT ME!
  • Method Details