Class VabraSolver
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.registration.vabra.VabraSolver
-
public class VabraSolver extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private int
currentLevelIdx
private int
currentResolutionIdx
private java.util.ArrayList<java.lang.Integer>
downSampleFactor
(package private) double[][]
gradients
(package private) float[]
gradMag
(package private) int[][]
grid
(package private) int
gridPoints
private java.util.ArrayList<java.lang.Integer>
gridSpacingX
private java.util.ArrayList<java.lang.Integer>
gridSpacingY
private java.util.ArrayList<java.lang.Integer>
gridSpacingZ
(package private) byte[][][]
gridVisited
(package private) VabraSubjectTargetPairs
imgSubTarPairs
(package private) int[]
index
(package private) float
interval_x
(package private) float
interval_y
(package private) float
interval_z
(package private) java.io.File
outputDir
private java.util.ArrayList<java.lang.Integer>
resolutionSwitchPoints
(package private) int[][]
reverseIdxGrid
(package private) boolean
saveIntermResults
(package private) int
xPts
(package private) int
yPts
(package private) int
zPts
-
Constructor Summary
Constructors Constructor Description VabraSolver(VabraSubjectTargetPairs imgSubTarPairs, java.io.File configFile, java.io.File outputDir, boolean saveIntermResults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean
beenVisited(int gridIdx)
void
dispose()
(package private) void
generateFinePoints(int[] point, int[][] newPoints)
(package private) void
generateGrid(int[] box)
(package private) void
generateGrid(int[] boundingBox, int xPoints, int yPoints, int zPoints)
ModelImage
getDeformationField()
ModelImage
getDeformedSubject()
(package private) void
identifyRegions()
(package private) void
markVisited(int gridIdx)
(package private) void
optimizeAtGridPoints()
(package private) void
readConfigFile(java.io.File f)
(package private) void
registerAtCurrentLevel(int[] boundingBox)
void
registerImages()
-
-
-
Field Detail
-
downSampleFactor
private java.util.ArrayList<java.lang.Integer> downSampleFactor
-
resolutionSwitchPoints
private java.util.ArrayList<java.lang.Integer> resolutionSwitchPoints
-
currentLevelIdx
private int currentLevelIdx
-
currentResolutionIdx
private int currentResolutionIdx
-
gridSpacingX
private java.util.ArrayList<java.lang.Integer> gridSpacingX
-
gridSpacingY
private java.util.ArrayList<java.lang.Integer> gridSpacingY
-
gridSpacingZ
private java.util.ArrayList<java.lang.Integer> gridSpacingZ
-
interval_x
float interval_x
-
interval_y
float interval_y
-
interval_z
float interval_z
-
gridPoints
int gridPoints
-
grid
int[][] grid
-
xPts
int xPts
-
yPts
int yPts
-
zPts
int zPts
-
reverseIdxGrid
int[][] reverseIdxGrid
-
gridVisited
byte[][][] gridVisited
-
saveIntermResults
boolean saveIntermResults
-
imgSubTarPairs
VabraSubjectTargetPairs imgSubTarPairs
-
outputDir
java.io.File outputDir
-
gradients
double[][] gradients
-
gradMag
float[] gradMag
-
index
int[] index
-
-
Constructor Detail
-
VabraSolver
public VabraSolver(VabraSubjectTargetPairs imgSubTarPairs, java.io.File configFile, java.io.File outputDir, boolean saveIntermResults)
-
-
Method Detail
-
dispose
public void dispose()
-
readConfigFile
void readConfigFile(java.io.File f)
-
registerImages
public void registerImages()
-
registerAtCurrentLevel
void registerAtCurrentLevel(int[] boundingBox)
-
identifyRegions
void identifyRegions()
-
optimizeAtGridPoints
void optimizeAtGridPoints()
-
generateGrid
void generateGrid(int[] boundingBox, int xPoints, int yPoints, int zPoints)
-
generateGrid
void generateGrid(int[] box)
-
generateFinePoints
void generateFinePoints(int[] point, int[][] newPoints)
-
beenVisited
boolean beenVisited(int gridIdx)
-
markVisited
void markVisited(int gridIdx)
-
getDeformedSubject
public ModelImage getDeformedSubject()
-
getDeformationField
public ModelImage getDeformationField()
-
-