Poster of Linux kernelThe best gift for a Linux geek
IM_ANALYZE2VIPS

IM_ANALYZE2VIPS

Section: C Library Functions (3) Updated: 4 August 2005
Local index Up
 

NAME

im_analyze2vips - convert Analyze 7.5 images to VIPS format  

SYNOPSIS

#include <vips/vips.h>

int im_analyze2vips( const char *filename, IMAGE *out )

 

DESCRIPTION

im_analyze2vips(3) reads the Analyze image in filename, and writes the image out in VIPS format. It can read (almost) any Analyze format image. Images with more than two dimensions simply appear as a very tall, thin strip. Use im_grid(3) to lay the tiles out as your prefer.

It reads the old-style 7.5 format, where the header and the image data are stored in separate files. You can give the name of either the header (for example, "fred.hdr") the image data (for example, "fred.img"), or neither (eg. "fred").

The fields in the Analyze header appear in the VIPS header with a "dsr-" prefix. So the Analyze field "patient_id", which is part of data_history, may be retrieved with


  im_header_string "dsr-data_history.patient_id" fred.v

 

SEE ALSO

im_grid(3)  

COPYRIGHT

Imperial College 2005


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 21:48:14 GMT, April 16, 2011