next up previous index
Next: ``Create_Image'' - generate an Up: Input/Output Previous: ``Load'' - load a

``Save'' - write a volume to disk

VFX name:
save.
IMPROMPTU name:
Save.
purpose:
Save a volume to disk as an ANALYZE-format volume(.img) or compresses a volume using the Run Length Encoding technique (.rle).
input:
Volume in IMPROMPTU memory.
output:
Volume is written to specified file (compressed or not).
parameters:
Default parameters menu is
compress_image? = N or Y
This function saves the specified volume to disk as an ANALYZE-format volume by creating an ``img'' file to hold the data and a ``hdr'' file to store the header information. If the compress option is set to ``Y'' then compresses and saves the specified volume to disk by creating an ``compression.rle'' file to hold the compressed data and an ``compression.hdr'' file to store the header information of the UNCOMPRESSED image.
comments:
The Run Length Encoding technique is very image-dependent, and it works better with segmented images. It can be the case where the compressed image is biger than the original image if this one is a very detailed one.



MultiDimensional Image Processing Lab, Penn State University