转自:https://blog.csdn.net/Kelvin_Yan/article/details/50765693 有删改
原文来自wiki DCMTK:http://support.dcmtk.org/redmine/projects/dcmtk/wiki/modules
各模块说明
These are the modules of the public DCMTK toolkit (version 3.6.0):
关于DCMTK编译的设置:config: Module for configuring compilation of DCMTK
通用库:ofstd: General purpose library including string class, etc.
日志系统:oflog: A logging library based on log4cplus
DICOM数据结构,dicom文件的读写和信息修改:dcmdata: Module for reading, modifying and writing DICOM data structures
(灰度)图像处理:dcmimgle: Module for processing DICOM images (grayscale)
(彩色)图像处理:dcmimage: Module for processing DICOM images (color)
DICOM网络协议:dcmnet: Module for the DICOM network protocol
测试PACS:dcmqrdb: Module providing a simple test PACS
结构化报告:dcmsr: Module implementing DICOM Structured Reporting (SR)
工作列表:dcmwlm: Module implementing a DICOM worklist server
JPEG编(解)码器:dcmjpeg: Module implementing a DICOM JPEG codec
JPEG-LS编(解)码器:dcmjpls: Module implementing a DICOM JPEG-LS codec
表示状态:dcmpstat: Module implementing DICOM Presentation States
签名:dcmsign: Module implementing DICOM signatures etc.
网络安全:dcmtls: Module implementing secure networking for DICOM
通用文档:docs: Module containing some general documents about DCMTK
文档的doxygen接口:doxygen: Module for generating API documentation with doxygen
模块间依赖关系
http://support.dcmtk.org/redmine/projects/dcmtk/wiki/modules
根据各模块间的依赖关系,就可以知道引用哪些dcmtk库,例如,我们需要用到图像处理模块dcmimage,就必须引用dcmimgle、dcmdata、oflog、ofstd、config这几个模块所涉及的库。
dcmtk 3.6.0编译完成后所得到的库包括:
ofstd.lib
oflog.lib
dcmdata.lib
dcmdsig.lib
dcmnet.lib
dcmsr.lib
dcmimgle.lib
dcmqrdb.lib
dcmtls.lib
dcmwlm.lib
dcmpstat.lib
dcmjpls.lib
dcmjpeg.lib
dcmimage.lib
charls.lib
ijg8.lib
ijg12.lib
ijg16.lib
libi2d.lib
一共19个lib,其中,前14个lib均与各模块名称相对应(config模块没有想要的lib),后5个lib。。。
注:对于windows平台的dcmtk,还需要引用netapi32.lib和wsock32.lib