Contents Up << >>

phm2pj

Simulates collection of X-rays data (projections) around a phantom object.

Usage

phm2pj projection-filename number-detectors number-views [options...]

Options

- -phantom Select a standard phantom.
  • herman
  • shepp-logan
  • unit-pulse
- -phmfile Reads a user-created phantom file.
- -geometry Sets the scanner geometry. Valid values are:
  • parallel
  • equiangular
  • equilinear
- -nray Number of samples per each detector
- -rotangle The rotation angle as a fraction of a circle. For parallel geometries use a rotation angle of 0.5 and for equilinear and equiangular geometries use a rotation angle of 1. The default is to use to appropriate rotation angle based on the geometry.
- -view-ratio Sets the field of view as a ratio of the diameter of the phantom. For normal scanning, the default value of 1.0 is optimal.
- -scan-ratio Sets the length of scanning as a ratio of the view diameter. For normal scanning, the default value of 1.0 is optimal.
- -focal-length Sets the distance between the radiation source and the center of the object as a ratio of the radius of the object. For parallel geometries, a value of 1.0 is optimal. For other geometries, this should be at least 2.0 to avoid artifacts. The default value is 2.