vil currently has a semi-working DICOM reader implemented by the
Manchester folks. Unfortunately, the implementation is not complete
enough to read some of the DICOM files generated by GE imaging
systems. We have a need to read such files.
The DCM Toolkit (http://dicom.offis.de/dcmtk.php.en) appears to be a
robust and fairly complete implementation of the DICOM standard. It
reads both our files and the current test DICOM files in
vil/tests. It's also free (BSD like) to use.
I think a DICOM image reader is a useful thing for the VXL
community. I'd like to put the relevant libraries from the toolkit
into v3p or vil/internals and create a vil_dicom2_image_resource
Are there any objections to this yet another external package coming
into the vxl tree?
It is not as convenient to treat it as a collection of external
libraries under Windows, to be found with FindDCMTK.cmake, for
example. It can certainly be compiled with ease on both Windows and
Unix. The Unix version can easily be used as a collection of
libraries. However, the Windows version runs into trouble with
console/non-console stuff, debug/release stuff, and other errors I
don't fully comprehend. There is no precompiled version of the
libraries for Windows.
> It is not as convenient to treat it as a collection of external
> libraries under Windows, to be found with FindDCMTK.cmake, for
I take that back. It can be treated like an external library; it just
needs to have the same multi-threaded DLL setting as the VXL build,
instead of the default multi-threaded static setting.
However, I still think it'll be useful to have it in v3p, so I'd still
like opinions on that.
From: Peter Vanroose <Peter.V<anroose@es...> - 2004-01-08 09:02:39
> However, I still think it'll be useful to have it in v3p, so I'd still
> like opinions on that.
I don't see obvious objections against this. We already have TIFF support
treated this way. DICOM could be treated similarly, with IF(DICOM_FOUND)
etc. in core/vil/CMakeLists.txt
It could then be a CMake configure option whether to use v3p/dicom or
core/vil/file_formats/vil_dicom or none.