Class VabraVolumeCollection
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.registration.vabra.VabraVolumeCollection
-
- All Implemented Interfaces:
java.lang.Cloneable
public class VabraVolumeCollection extends java.lang.Object implements java.lang.Cloneable
-
-
Field Summary
Fields Modifier and Type Field Description private int
chInterpType
float[]
data
protected double
intervalsD
protected double
maxValsD
protected double
minValsD
int
numOfBins
int
XN
int
YN
int
ZN
-
Constructor Summary
Constructors Constructor Description VabraVolumeCollection(int XN, int YN, int ZN, int interpType, int numOfBins)
VabraVolumeCollection(ModelImage vol, int interpType, int numOfBins, boolean bMinMax)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
calculateBin(double val)
void
calculateMaxAndMinVals()
VabraVolumeCollection
clone()
void
disposeLocal()
void
downSample(int newSizeX, int newSizeY, int newSizeZ, double sigma)
double
getIntervals()
double
getMax()
double
getMin()
int
getXN()
int
getYN()
int
getZN()
double
interpolate(double x, double y, double z)
void
rescaleToBins()
VabraVolumeCollection
returnDeformedCopy(float[] defField)
void
setMinMax(double maxValsDOld, double minValsDOld, double intervalsDOld)
-
-
-
Constructor Detail
-
VabraVolumeCollection
public VabraVolumeCollection(ModelImage vol, int interpType, int numOfBins, boolean bMinMax)
-
VabraVolumeCollection
public VabraVolumeCollection(int XN, int YN, int ZN, int interpType, int numOfBins)
-
-
Method Detail
-
disposeLocal
public void disposeLocal()
-
downSample
public void downSample(int newSizeX, int newSizeY, int newSizeZ, double sigma)
-
interpolate
public double interpolate(double x, double y, double z)
-
calculateBin
public int calculateBin(double val)
-
rescaleToBins
public void rescaleToBins()
-
clone
public VabraVolumeCollection clone()
- Overrides:
clone
in classjava.lang.Object
-
returnDeformedCopy
public VabraVolumeCollection returnDeformedCopy(float[] defField)
-
calculateMaxAndMinVals
public void calculateMaxAndMinVals()
-
getXN
public int getXN()
-
getYN
public int getYN()
-
getZN
public int getZN()
-
getMax
public double getMax()
-
getMin
public double getMin()
-
getIntervals
public double getIntervals()
-
setMinMax
public void setMinMax(double maxValsDOld, double minValsDOld, double intervalsDOld)
-
-