simcirc 0.3.0 © 2012 by Turku PET Centre
Draw circle in x,y matrix with 1 inside circle and 0 outside of it
for simple simulations, SW testing, and creating ROI masks.
Command line arguments:
1) dimension
2) diameter
3) output filename
Options:
-separator=<<comma>|<semi-colon>|<tab>|<space>>
By default tab is used as the separator, but comma, semicolon or space
may be needed to import data to other software.
-format=<<ascii>|<float>|<short>>
By default data is written in ASCII text format, but optionally
it can be written in binary flat file as floats or short ints.
-diam2=<2nd diameter>
If the second diameter is specified, then a ring is created.
-h or --help
Print this message and exit.
--version or --build
Print software build information and exit.
--silent
Program works silently, printing only error and warning messages.
--verbose
Program prints more information about what it is doing.
Example #1:
simcirc 256 224 circle.txt
Example #2:
simcirc -format=float 256 64 circle.bin
flo2ecat -t=hrrt circle.bin circle.v 1 1 256 256
See also:
asc2flo,
flo2ecat,
simiart,
ecatcalc,
ecatlkup,
ecatadd,
ecatcat
Keywords: simulation, image, software testing
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and
you are welcome to redistribute it under GNU General Public License.