U. Kjems, P. A. Philipsen, M. Ohlsson, P. Toft, N. Morch
Department of Mathematical Modelling, Building 305
Technical University of Denmark
2800 Lyngby, Denmark
Phone +45 45243894
E-mail: uk@imm.dtu.dk
http://eivind.imm.dtu.dk/staff/kjems
Version 0.3 June 3, 1998
Introduction to VOLIO
What is the Volio Library ?
Free UNIX utilities
Free Matlab I/O functions
Quick Reference to VOLIO C funtions
Quick Reference to Unix utility progs
read_volume()
Read an entire volume
read_header()
Read a volume's header
open_read()
Open a volume for reading
close_file()
Close a volume file handle
write_volume()
Write an entire volume
write_analyze_header()
Write an ANALYZE header
open_write()
Open a volume for writing
new_header()
Allocate a new header
free_header()
Free a header
copy_header()
Copy a header
copy_volume()
Copy an entire volume
copy_format_attributes()
Transfer file format attributes between headers
add_description()
Please use set_description
set_description()
Add/modify a header description entry
get_description()
Fetch a header description entry matching key
scanf_description()
Parse header description entry beloning to a key
get_description_...()
Get a specific data type from header description matching key
setf_description()
Set formattet header description entry matching key
print_description()
Produce a printout of header information in a buffer
delete_description()
Not used by user
delete_lhs_description()
Remove a specific header description entry matching key
new_description()
Not used by user
read_lhs_rhs()
Parse a string for lhs = rhs
scan_these()
Array scanning of string
free_description()
Not used by user
copy_descriptions()
print()
General I/O with logging and signal level support
set_signal_level()
Set signal level for print()
scale_volume()
Scale/add volume
convert_vector()
Convert raw data type.
convert_volume()
Convert a volume to different data type.
resize_volume()
Resize a volume
mask_volume()
Mask and reallocate volume from binary mask
unmask_volume()
Unmask and reallocate volume from binary mask
alloc_volume()
Allocate volume corresponding to header
permute_vol()
Permute volume dimensions
flipvol_lr()
Flip a volume left/right
flipvol_ud()
Flip volume up/down
flipvol_tb()
Flip volume top/bottom
start_stopwatch()
Start internal stopwatch
read_stopwatch()
Read internal stopwatch
read_stopwatch_string()
Read internal stopwatch as string
big_endian()
Test for endian-ness of host
endian_convert()
Reverse the endian format for data in volume
file2vapet
Convert a file to VAPET format
file2ana
Convert a file to ANALYZE format
file2xprime
Convert a file to XPRIME format
compute_warp
Compute non-linear warp field of 2 MRI's
warp_reslice
Applies deformation field and linear transformation
histo_vols
Compute 2D intensity histogram of 2 volumes
subsample
Subsample a volume integral factor
headerinfo
Show volume header information
resize_vol
Resize a volume (add/remove space)
convert_vol
Change datatype, scale intensity, compute min/max
apply_warp
Fast application of displacement field
ivar
Compute variance image across volumes
covar
Compute covariance matrix for a set of volumes
flip
Flip and/or permute a volume
maskcreate
Build a mask by simple thresholding of an image
maskvol
Build mask, boxcar-smoothing within mask
region
Parcellation of segmented image
warp_reconcile
----------------------------------------------------------------------------- 1997 Ulrik Kjems, DSP/IMM, Technical University of Denmark, uk@imm.dtu.dk ----------------------------------------------------------------------------- This software is FREE for non-commercial use, but the author holds all rights, and any use of the software should clearly indicate the author. -----------------------------------------------------------------------------