Adapted for Windows by J. Varga, University of Debrecen, Hungary
03/14/2002
Table of Contents
The MINC (=Medical Image NetCDF)
file format is the application of the
NetCDF (Unidata Network
Common Data Form) specification for
various types of medical images.
The present package is the implementation for Microsoft Windows of the
original packages developed for UNIX operating systems.
There are two releases of the package:
- MINCWin_bin: the binary version, containing dynamic link libraries
(DLL-s), header (.h) and library (.lib) files
- MINCWin_src: the source code.
Three different packages have been implemented:
Copyright 1993-1996 University Corporation for Atmospheric Research/Unidata
Copyright 1993 Peter Neelin, McConnell Brain Imaging Centre,
Montreal Neurological Institute, McGill University.
Distributed as part of MINC version 1.0
Copyright 1993,1994,1995 David MacDonald,
McConnell Brain Imaging Centre,
Montreal Neurological Institute, McGill University.
The binary package has been tested under Microsoft Windows 95, 98, ME, NT 4.0
and 2000 Professional operating systems.
Microsoft Visual C++ 6.0 was used to compile the DLL-s, and is supported for
developing MINC applications.
To run executables that depend on the DLL-s:
- Copy the .DLL files from "\DevStudio\VC98\bin\" to a folder on your OS
path.
To write applications that use the libraries:
- Install Microsoft Visual Studio, including Visual C++ 6.0
- Copy the contents of the folders in
\DevStudio\VC98\
into the respective folders of your Visual C installation
- Define WIN32
- Define in your project one of:
| DLL_NETCDF |
if your program calls only
NetCDF routines |
| DLL_MINC |
if your program is a pure
MINC application |
| DLL_VOLIO |
if your program calls functions of the
Volume_IO package as well |
- Select the "Multithreaded DLL" run-time library
- Set "Structure member alignment" to "8
bytes"
- As library modules specify the required ones from among:
netcdf.lib, minc.lib, volume_io.lib
See as example:
\DevStudio\MINCAppl\vol_sum\vol_sum.dsp
To recompile the libraries:
- Install Microsoft Visual Studio, including Visual C++ 6.0
- Define the following environment variables:
DEVSHOME: the path of MS Development Studio (without "\" at
the end)
VCHOME: the path of MS VC98 (without
"\" at the end)
- Copy the binary files as above
- Copy the contents of
\DevStudio\MINCfile
as well.
- Open the workspace:
\DevStudio\MINCfile\MINCfile.dsw
- Select and build the projects in this workspace in the following order:
netcdf_dll
Proglib
cc_minc_lib
volume_io
Please read the proposal for the extension
of the MINC standard to be able to handle all basic data types of nuclear
medicine.
With your comments and advices please contact
József Varga.
|