TRiP98 HLUT command
| GSI Biophysics | TRiP98 long write-up |

HLUT


hlut | file / import()   list      num()             debug
              export()   delete    eqvpathlength()
              read       display
              write      inspect

Purpose

Handles input, output and interpolation of a Hounsfield Look-Up table (HLUT). Only one single table is supported.

Parameters

file
Name of a file which contains a HLUT table. May contain environment variables. Usually Hounsfield Look-Up tables have the extension .hlut
import()
Not yet implemented.
export(fmt)
Exports current HLUT table in some other format, at present only gd is implemented to export for the gd plot program.
read
Read a HLUT table specified by file.
write
Write the current HLUT table to file
list
Lists loaded HLUT table.
delete
Deletes the loaded HLUT table.
display
Displays the current HLUT table. Not yet implemented.
inspect
Show some internal info about the current HLUT table.
num(hf)
Interpolate water-equivalent path length for the Hounsfield number hf.
eqvpathlength(len)
Interpolate the Hounsfield number for the water-equivalent path length len.
debug
Debug switch. Lots of output !

Remark

none

Examples

  1. hlut $TRIP98/DATA/*.hlut /read
    
    Reads all files in the directory "$TRIP98/DATA" with the extension ".hlut" and interpretes them as HLUT tables. The last one read will replace all previous ones and become the currently loaded table.
  2. hlut / num(-41)
    hlut / eqv(1)
    
    First interpolate the equivalent path length for the CT number -41, the the CT number for equivalent path length 1.

| GSI Biophysics | TRiP98 long write-up |
Last updated:
$Id: trip98cmdhlut.html,v 1.7 2009/03/13 17:26:16 kraemer Exp $
M.Kraemer@gsi.de