edu.jhu.ece.iacl.plugins.utilities.math
Class MedicAlgorithmKLDivergence

java.lang.Object
  extended by AlgorithmBase
      extended by edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
          extended by edu.jhu.ece.iacl.plugins.utilities.math.MedicAlgorithmKLDivergence

public class MedicAlgorithmKLDivergence
extends ProcessingAlgorithm


Field Summary
protected  ParamInteger cols
           
protected  ParamVolume histImg
           
protected  ParamObject<double[][]> histX
           
protected  ParamObject<double[][]> histY
           
protected  ParamDouble kernelSize
           
protected  ParamDouble kld
           
protected  ParamInteger rows
           
protected  ParamString valueName
           
protected  ParamBoolean yLogScale
           
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
algorithmInformation, inputParams, JIST_VERSION, outputParams, performance, runningInSeparateProcess
 
Constructor Summary
MedicAlgorithmKLDivergence()
           
 
Method Summary
protected  void createInputParameters(ParamCollection inputParams)
          Create input parameters.
protected  void createOutputParameters(ParamCollection outputParams)
          Create output parameters.
protected  void execute(CalculationMonitor monitor)
          Execute your algorithm.
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.ProcessingAlgorithm
getAboutFile, getAlgorithmInformation, getAlgorithmLabel, getAlgorithmName, getDefaultJVMArgs, getInput, getMapFile, getOutput, getOutputDirectory, getPreferredSize, getTimeStamp, getUsageFile, init, init, isRunningInSeparateProcess, load, runAlgorithm, runAlgorithm, saveResources, setInput, setMapFile, setOutput, setOutputDirectory, setOutputMetaFile, setPreferredSize, setRunningInSeparateProcess, writeSummaryFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kld

protected ParamDouble kld

kernelSize

protected ParamDouble kernelSize

yLogScale

protected ParamBoolean yLogScale

rows

protected ParamInteger rows

cols

protected ParamInteger cols

histX

protected ParamObject<double[][]> histX

histY

protected ParamObject<double[][]> histY

histImg

protected ParamVolume histImg

valueName

protected ParamString valueName
Constructor Detail

MedicAlgorithmKLDivergence

public MedicAlgorithmKLDivergence()
Method Detail

createInputParameters

protected void createInputParameters(ParamCollection inputParams)
Description copied from class: ProcessingAlgorithm
Create input parameters.

Specified by:
createInputParameters in class ProcessingAlgorithm
Parameters:
inputParams - the input parameters

createOutputParameters

protected void createOutputParameters(ParamCollection outputParams)
Description copied from class: ProcessingAlgorithm
Create output parameters.

Specified by:
createOutputParameters in class ProcessingAlgorithm
Parameters:
outputParams - the output parameters

execute

protected void execute(CalculationMonitor monitor)
                throws AlgorithmRuntimeException
Description copied from class: ProcessingAlgorithm
Execute your algorithm.

Specified by:
execute in class ProcessingAlgorithm
Parameters:
monitor - progress monitor
Throws:
AlgorithmRuntimeException - the algorithm runtime exception