logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pjrec - reconstruction from projections

Authors

       Kevin Rosenberg, M.D. <kevin@ctsim.org>

Description

pjrec  takes  projection  data  from  raysum-filePandproducesan(IF)imagefileimage-file,ofsizenx-imagebyny-imagepixels,containingthereconstructedimage.

History

       CTSim was begun in 1983 using MS-DOS and an EGA display adapter. In 1999 it was ported to  GNU/Linux  and
       later ported to Microsoft Windows.

Name

       pjrec - reconstruction from projections

Options

pjrec accepts the following options, which control the reconstruction algorithm:

       --interp    Interpolation method during backprojection

                   nearest
                          Nearest neighbor interpolation

                   linear Linear interpolation

       --preinterpolate
                   Preinterpolation factor (default = 1).  Used only with frequency-based filtering

       --filter    Filter name

                   abs_bandlimit  Abs * Bandlimiting (default)

                   abs_sinc       Abs * Sinc

                   abs_cosine     Abs * Cosine

                   abs_hamming    Abs * Hamming

                   shepp          Shepp-Logan

                   bandlimit      Bandlimiting

                   sinc           Sinc

                   cosine         Cosine

                   triangle       Triangle

                   hamming        Hamming

       --filter-method
                   Filter method before backprojections

                   convolution    Spatial filtering (default)

                   fourier        Frequency filtering with discete fourier

                   fourier_table  Frequency filtering with table lookup fourier

                   fft            Fast Fourier Transform

       --zeropadn Set zeropad level (default = 0).  set n to number of powers to two to pad

       --filter-generation
                   Filter Generation mode

                   direct      Use direct filter in spatial or frequency domain (default)

                   inverse_fourier
                               Use inverse fourier transform of inverse filter

       --backproj  Backprojection Method

                   trig   Trigometric functions at every point

                   table  Trigometric functions with precalculated table

                   diff   Difference method

                   diff2  Optimized difference method (default)

                   idiff2 Optimized difference method with integer math

                   idiff3 Highly-optimized difference method with integer math

       --filter-param
                   Alpha level for Hamming filter

       --trace     Set tracing to level:

                   none        No tracing (default)

                   console     Text level tracing

       --verboseTurnonverbosemode--debugTurnondebugmode--versionPrintversion--helpPrintatersehelpmessage

See Also

ctsim(1)  ctsimtext(1)  if1(1)  if2(1)  ifinfo(1)  linogram(1)  phm2helix(1) phm2if(1) phm2pj(1) pj2if(1)
       pjHinterp(1) pjinfo(1)

Kevin Rosenberg                                                                                         pjrec(1)

Synopsis

pjrecprojection-fileimage-filenx-imageny-image[OPTIONS]

See Also