Class AlgorithmContrastEnhancementUsingExposureFusion

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

public class AlgorithmContrastEnhancementUsingExposureFusion extends AlgorithmBase
  • Field Details

  • Constructor Details

    • AlgorithmContrastEnhancementUsingExposureFusion

      public AlgorithmContrastEnhancementUsingExposureFusion()
    • AlgorithmContrastEnhancementUsingExposureFusion

      public AlgorithmContrastEnhancementUsingExposureFusion(ModelImage destImg, ModelImage srcImg, double mu, double k, double a, double b)
  • Method Details

    • runAlgorithm

      public void runAlgorithm()
      Description copied from class: AlgorithmBase
      Actually runs the algorithm. Implemented by inheriting algorithms.
      Specified by:
      runAlgorithm in class AlgorithmBase
    • maxEntropyEnhance

      private double[][] maxEntropyEnhance(ModelImage IImage, boolean[][] isBad)
    • maxEntropyEnhanceColor

      private double[][][] maxEntropyEnhanceColor(ModelImage IImage, boolean[][] isBad)
    • applyK

      private double[][] applyK(double[][] I, double k, double a, double b)
    • applyKColor

      private double[][][] applyKColor(double[][][] I, double k, double a, double b)
    • log2

      private double log2(double input)
    • tsmooth

      private double[][] tsmooth(double[][] I, double lambda, int sigma, double sharpness)
    • computeTextureWeights

      private void computeTextureWeights(double[][] W_h, double[][] W_v, double[][] fin, int sigma, double sharpness)
    • copyMakeBorder

      public double[][] copyMakeBorder(double[][] src, int top, int bottom, int left, int right, int borderType, double borderValue)
    • filter2Same

      private double[][] filter2Same(double[][] img, double[][] win)
    • solveLinearEquation

      private double[][] solveLinearEquation(double[][] IN, double[][] wx, double[][] wy, double lambda)