Scroll to navigation

PHM2IF(1) General Commands Manual PHM2IF(1)

NAME

phm2if — Generate Phantom (generate phantom for computed tomography simulator)

SYNOPSIS

phm2if outfile nx ny [--phantom phantom-name] [--phmfile filename] [--filter filter-name] [OPTIONS]

DESCRIPTION

generates phantom images for comparisons to reconstructions for CTsim.

is configured to use a variety of options for phantom generation.

Every tool is run through ctsim-nogui, as in "ctsim-nogui phm2if ...", or directly if a symbolic link of that name points at it.

The arguments and options are as follows:

outfile
Name of output file for image
nx
Number of pixels X-axis
ny
Number of pixels Y-axis
View diameter to phantom diameter ratio (default = 1)
Phantom to use for projection
Herman head phantom
Shepp-Logan head phantom
Unit pulse phantom
Generate Phantom from phantom file
Generate Phantom from a filter function
Abs * Sinc
Abs * Cosine
Abs * Hamming
Shepp-Logan
Bandlimiting
Sinc
Cosine
Triangle
Hamming
Alpha level for Hamming filter
Set domain of filter
Spatial domain (default)
Frequency domain
Filter bandwidth (default = 1)
Description to store in the image file
Number of samples per axis per pixel (default = 1)
Trace level to use
No tracing (default)
Trace text level
Report progress and details while running.
Print the CTSim version and exit.
Print the usage summary and exit.

SEE ALSO

ctsim-nogui(1), ctsim(1)

The CTSim manual, installed as /usr/share/doc/ctsim/ctsim.pdf and ctsim.html and available from the Help menu of ctsim.

AUTHORS

Kevin M. Rosenberg <kevin@rosenberg.net>

September 13, 2026 CTSim