MTFphantom
public MTFphantom(int x,
int y,
double r1,
double r2,
float cylinderDensity,
float beadDensity)
The constructor takes two arguments to initialize the grid. The cylinder
will be in the center and have a radius of r1% of the x-dimension. Thus
we recommend a grid size that is uniform in both directions. The outer beads
will be at a circle defined by radius of r2% of the r1 radius.
- Parameters:
x
- Size in X directiony
- Size in Y directionr1
- Cylinder radius as a fraction of the X sizer2
- Outer bead radius as a fraction of the cylinder radiuscylinderDensity
- Density value for the cylinderbeadDensity
- Density value for the beads