edu.jhu.ece.iacl.algorithms.vabra
Class ImagePair

java.lang.Object
  extended by edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
      extended by edu.jhu.ece.iacl.algorithms.vabra.ImagePair
Direct Known Subclasses:
ImagePairNMI

public abstract class ImagePair
extends AbstractCalculation


Field Summary
protected  int[] boundingBox
           
protected  double currentDownSampleFactor
           
protected  VectorVolumeVabra deformedSubject
           
protected  ImageDataFloat DF
           
protected  VectorVolumeVabra originalSubject
           
protected  VectorVolumeVabra subject
           
protected  java.util.List<ImageData> subjectVols
           
protected  java.util.List<java.lang.Number> subjectWeights
           
protected  java.lang.String subjectXMLFile
           
protected  VectorVolumeVabra target
           
protected  java.util.List<ImageData> targetVols
           
protected  java.util.List<java.lang.Number> targetWeights
           
protected  java.lang.String targetXMLFile
           
protected  double[] weights
           
 
Fields inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
monitor
 
Constructor Summary
ImagePair()
           
 
Method Summary
abstract  void coarseGradient(int[] regionCenter, double[] results)
           
abstract  int coarseGradientParameters()
           
abstract  double coarseOptimize(int[] regionCenter, double[] results)
           
 void dispose()
           
abstract  void fineOptimize(int[][] regionCenters, double[] results)
           
 int[] getBoundingBox()
           
 VectorVolumeVabra importVolume(ParamVolume wvols, int InterpType)
           
 VectorVolumeVabra importVolumes(java.util.List<ImageData> wvols, java.util.List<java.lang.Number> wvals, int[] InterpType)
           
 void setResolution(float downSampleFactor)
           
abstract  void setScale(float dx, float dy, float dz)
           
 
Methods inherited from class edu.jhu.ece.iacl.jist.pipeline.AbstractCalculation
add, addTotalUnits, decrementCompletedUnits, decrementCompletedUnits, getCompletedUnits, getCurrentLabel, getCurrentProgress, getLabel, getPerformance, getProgress, getTotalUnits, incrementCompletedUnits, incrementCompletedUnits, isCompleted, markCompleted, reset, setCompletedUnits, setCompletedUnits, setLabel, setMonitor, setTotalUnits
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

protected VectorVolumeVabra subject

originalSubject

protected VectorVolumeVabra originalSubject

deformedSubject

protected VectorVolumeVabra deformedSubject

target

protected VectorVolumeVabra target

subjectXMLFile

protected java.lang.String subjectXMLFile

targetXMLFile

protected java.lang.String targetXMLFile

currentDownSampleFactor

protected double currentDownSampleFactor

boundingBox

protected int[] boundingBox

DF

protected ImageDataFloat DF

subjectVols

protected java.util.List<ImageData> subjectVols

targetVols

protected java.util.List<ImageData> targetVols

subjectWeights

protected java.util.List<java.lang.Number> subjectWeights

targetWeights

protected java.util.List<java.lang.Number> targetWeights

weights

protected double[] weights
Constructor Detail

ImagePair

public ImagePair()
Method Detail

dispose

public void dispose()

coarseGradient

public abstract void coarseGradient(int[] regionCenter,
                                    double[] results)

coarseGradientParameters

public abstract int coarseGradientParameters()

coarseOptimize

public abstract double coarseOptimize(int[] regionCenter,
                                      double[] results)

fineOptimize

public abstract void fineOptimize(int[][] regionCenters,
                                  double[] results)

setResolution

public void setResolution(float downSampleFactor)

importVolumes

public VectorVolumeVabra importVolumes(java.util.List<ImageData> wvols,
                                       java.util.List<java.lang.Number> wvals,
                                       int[] InterpType)

importVolume

public VectorVolumeVabra importVolume(ParamVolume wvols,
                                      int InterpType)

setScale

public abstract void setScale(float dx,
                              float dy,
                              float dz)

getBoundingBox

public int[] getBoundingBox()