GDCM

gdcmconv: gdcm 2.2.4 $Date$


Usage: gdcmconv [OPTION] input.dcm   output.dcm

Convert a DICOM file into another DICOM file.


Parameter (required):
  -i --input      DICOM filename
  -o --output     DICOM filename


Options:
  -X --explicit            Change Transfer Syntax to explicit.
  -M --implicit            Change Transfer Syntax to implicit.
  -U --use-dict            Use dict for VR (only public by default).
     --with-private-dict   Use private dict for VR (advanced user only).
  -C --check-meta          Check File Meta Information (advanced user only).
     --root-uid            Root UID.
     --remove-gl           Remove group length (deprecated in DICOM 2008).
     --remove-private-tags Remove private tags.
     --remove-retired      Remove retired tags.


Image only Options:
  -l --apply-lut                      Apply LUT (non-standard, advanced user only).
  -P --photometric-interpretation %s  Change Photometric Interpretation (when possible).
  -w --raw                            Decompress image.
  -d --deflated                       Compress using deflated (gzip).
  -J --jpeg                           Compress image in jpeg.
  -K --j2k                            Compress image in j2k.
  -L --jpegls                         Compress image in jpeg-ls.
  -R --rle                            Compress image in rle (lossless only).
  -F --force                          Force decompression/merging before recompression/splitting.
     --generate-icon                  Generate icon.
     --icon-minmax %d,%d              Min/Max value for icon.
     --icon-auto-minmax               Automatically commpute best Min/Max values for icon.
     --compress-icon                  Decide whether icon follows main TransferSyntax or remains uncompressed.
     --planar-configuration [01]      Change planar configuration.
  -Y --lossy                          Use the lossy (if possible) compressor.
  -S --split %d                       Write 2D image with multiple fragments (using max size)
General Options:
  -V --verbose    more verbose (warning+error).
  -W --warning    print warning info.
  -D --debug      print debug info.
  -E --error      print error info.
  -h --help       print help.
  -v --version    print version.
     --quiet      do not print to stdout.
JPEG Options:
  -q --quality %*f           set quality.
JPEG-LS Options:
  -e --lossy-error %*i             set error.
J2K Options:
  -r --rate    %*f           set rate.
  -q --quality %*f           set quality.
  -t --tile %d,%d            set tile size.
  -n --number-resolution %d  set number of resolution.
     --irreversible          set irreversible.
Special Options:
  -I --ignore-errors   convert even if file is corrupted (advanced users only, see disclaimers).
Env var:
  GDCM_ROOT_UID Root UID

 

 


openssl 是什么

 

 

 

 

   LeaveCriticalSection( _locktable[locknum].lock );

 

 

 

 

点击picture控件响应:

把Picture   Control的Notify属性,改为true就行了.

 


关于各种无法解析的外部符号问题的相应解决方案

http://blog.csdn.net/enotswn/article/details/5934938

在使用vs2008调试程序的过程中,经常会出现无法解析的外部符号问题,可能的原因有很多种,下面这些是我一年来积累的经验.

仅供参考.

考虑可能的原因:
[0]出现无法解析可能是因为lib文件不正确,比如64位的编译配置,结果使用的是32位的lib包.
[1]只写了类声明,但还没有写实现类,造成调用时无法解析
[2]声明和定义没有统一,造成链接不一致,无法解析
[3]没有在项目属性页的链接器的命令行选项加入相应的类包。
[4]没有在c++包含目录和库目录加入相应的类包路径
[5]在测试工程中被测文件目录可能需要包含被测类的cpp定义文件
[6]ICE接口测试时,无法解析可能因为被测文件没有包含进相关的cpp文件,另外,在TestSuite_ProjectRun.h文件中需要包含IProjectRun.h头文件,及相关的头文件(举例)。

[7]import相关的无法解析内容,解决办法是在链接器的依赖项中加入相应的动态库

[8]出现如下错误的原因一般是动态库没有包进来。__imp
ProjectRun.obj : error LNK2019: 无法解析的外部符号 __imp__StartHistoryLocalModule,该符号在函数 "protected: virtual int __thiscall HiRTDB::CProjectRun::DoStart(void)" (?DoStart@CProjectRun@HiRTDB@@MAEHXZ) 中被引用

[9]error LNK2001: 无法解析的外部符号 __imp___CrtDbgReportW
工程属性,C/C++,代码生成,运行时库选择MDd,

[9]无法解析的外部符号"__declspec(dllimport) public: int __thiscall HiRTDB::CTagTree::GetObjectA(int,struct HiRTDB::SBaseReadProps const &,struct HiRTDB::SBaseReadValues &)" (__imp_?GetObjectA@CTagTree@HiRTDB@@QAEHHABUSBaseReadProps@2@AAUSBaseReadValues@2@@Z),该符号在函数"public: int __thiscall HiRTDB::CStringImpl::Get(int,struct HiRTDB::SStringReadProps const &,struct HiRTDB::SStringReadValues &)" (?Get@CStringImpl@HiRTDB@@QAEHHABUSStringReadProps@2@AAUSStringReadValues@2@@Z) 中被引用

原因可能是工程配置文件中有多余选项,请参考其他模块的配置选项,不要有多余配置。


AssertValid和Dump函数的应用

 

 

 


mitkVolumeProperty:

负责为mitkVolumeModel 管理属性结构。可以通过mitkVolumeModel的GetProperty取得。

mitkVolumeProperty主要管理着以下属性:
a. 光源参数:通过 SetAmbient SetDiffuse SetSpecular SetSpecularPower几个函数指定。
b.  插值类型:可以是最近插值或线性插值。可以通过SetInterpolationType等几个函数指定。
c. 传递函数:
灰度-阻光度传递函数:通过GetScalarOpacity 取得mitkTransferFunction1D类型的指针,后者负责管理函数的具体定义。
灰度-颜色传递函数:通过GetScalarColor取得mitkColorTransferFunction类型的指针,后者负责管理函数的具体定义。
梯度-阻光度传递函数:通过GetGradientOpacity取得mitkTransferFunction1D类型的指针,后者负责管理函数的具体定义。
d. 两个开关: 光照开关:ShadeOn / ShadeOff 决定是否启用梯度-阻光度传递函数的开关:GradientOpacityCalculationOn  / GradientOpacityCalculationOff

 

区域生长算法简单来说是这样的:
假设当前处理的区域中的点灰度值为gc,其相邻点灰度值为gn,用户选定的种子点灰度值为gs,则当相邻点灰度值满足条件|gn – gc| < dv 和|gn- gs| < cv
时认为该相邻点gn也属于分割区域而将其合并到区域gc中。
这个Filter的最终结果是,分割区域内的灰度保持与输入相等,而分割区域外的灰度值被置为0



毛主席教导我们说
知识青年到农村去
毛主席还教导我们说
接受贫下中农的再教育
毛主席的手一挥
挥到哪里我们到哪里
大有作为的广阔天地
现在想想我们还爱你

一不怕苦二不怕死
步调一致才能得胜利
下定决心  不怕牺牲
排除万难去争取胜利
呼儿嘿哟
广阔天地的父老乡亲
现在你们都干啥呢
劳动中结下的友谊
真的我会好好珍惜
啥时候你们来城里
我会好好的招待你
多难得的那份情谊
我感谢毛主席还要感谢你呼儿嘿哟
呼儿嘿哟

 

 

 

 

 

 


 

 

 

 

 

其实问题在于,在空项目中不生成调试文件pdb,所以无法调试。

要让项目生成pdb文件,需要更改:

项目属性,configuration properties->linker->Generate Debug Info 从 no 改为 yes

但这样还是不够的,还需要更改:

项目属性,configuration properties->c/c++->debug information format为/ZI

项目属性,configuration properties->c/c++->optimization为Disabled

因为为了生成这个文件,需要设定debug信息的格式并关掉O2,还要更改linker生成调试信息的开关

posted @ 2013-09-05 13:39  好哥TOP  阅读(4035)  评论(0编辑  收藏  举报