public class PICoBootstrapRandomizer extends java.lang.Object implements PICoRandomizer
Constructor and Description |
---|
PICoBootstrapRandomizer(BootstrapTractographyImage im) |
Modifier and Type | Method and Description |
---|---|
Vector3D[] |
getRandomizedPDs(int i,
int j,
int k)
Randomizes the PDs in the voxel (i,j,k) and returns them.
|
double |
pdf(int i,
int j,
int k,
int pdIndex,
Vector3D v)
Evaluates the PDF for a vector at voxel (i,j,k).
|
public PICoBootstrapRandomizer(BootstrapTractographyImage im)
im
- should be an image that supports bootstrapping.public Vector3D[] getRandomizedPDs(int i, int j, int k)
PICoRandomizer
getRandomizedPDs
in interface PICoRandomizer
public double pdf(int i, int j, int k, int pdIndex, Vector3D v)
pdf
in interface PICoRandomizer
v
- a unit vector.pdIndex
- the index of the PDF in the voxel.