当前位置:网站首页>DCMTK(DCM4CHE)与DICOOGLE协同工作
DCMTK(DCM4CHE)与DICOOGLE协同工作
2022-04-23 06:09:00 【dotphoenix】
1. 使用img2dcm生成dcm文件
img2dcm -vlp -k "PatientName=Miss 翠花" -k "PatientSex=M" -k "PatientAge=22" -k "StudyDate=20080808" -k "PatientID=1229009900" -k "Modality=ES" -k "SpecificCharacterSet=ISO_IR 192" -k "Manufacturer=Insighters" insighters01.jpg insighters01.dcm
2. 使用dcmdjpeg将jpeg转换成lossless
dcmdjpeg insighters01_501.dcm insighters01_501.dcm
3. 使用storescu(或者dcmsend)将dcm文件上传到dicoogle(或者storescp)
storescu -v +v -aec DICOOGLE-STORAGE 127.0.0.1 6666 insighters01_501.dcm
dcmsend -v +v -aec DICOOGLE-STORAGE 127.0.0.1 6666 insighters01_5011.dcm
PS:
1. 可以运行storescp替换dicoogle测试:storescp 8888 -v +v -aet DICOOGLE-STORAGE (假装自己是dicoogle)
2. 可以使用dcm4che的命令行代替dcmtk
比如:storescu
/Users/alex/work/sts-workspace/dcm4che-master/dcm4che-assembly/target/dcm4che-5.24.0-bin/dcm4che-5.24.0/bin/storescu -c DICOOGLE-STORAGE@localhost:6666 /Users/alex/work/sts-workspace/dicoogle/dicoogle_bin/test_dir/homer_001.dcm
或者:jpg2dcm
/Users/alex/work/sts-workspace/dcm4che-master/dcm4che-assembly/target/dcm4che-5.24.0-bin/dcm4che-5.24.0/bin/jpg2dcm -m "PatientName=Miss 翠花" -m "PatientSex=M" -m "PatientAge=22" -m "StudyDate=20080808" -m "PatientID=1229009900" -m "Modality=ES" -m "SpecificCharacterSet=ISO_IR 192" -m "Manufacturer=Insighters" homer.jpg homer_501.dcm
版权声明
本文为[dotphoenix]所创,转载请带上原文链接,感谢
https://blog.csdn.net/dotphoenix/article/details/119861904
边栏推荐
- [sm8150] [pixel4] LCD driver
- 组件化学习
- 解决:You have 18 unapplied migration(s). Your project may not work properly until you apply
- Bottomsheetdialogfragment conflicts with listview recyclerview Scrollview sliding
- MySQL笔记2_数据表
- C#新大陆物联网云平台的连接(简易理解版)
- Dolphinscheduler源码包src.tar.gz解压问题
- this. getOptions is not a function
- Tiny4412 HDMI display
- oracle数据库将多个列的查询结果集合并到一行中
猜你喜欢
随机推荐
oracle存储过程中is和as区别
解决:You have 18 unapplied migration(s). Your project may not work properly until you apply
iTOP4412 SurfaceFlinger(4.0.3_r1)
Component learning
Antd Design Form表单检验
./gradlew: Permission denied
PG SQL截取字符串到指定字符位置
adb shell top 命令详解
Cause: dx.jar is missing
oracle计算两日期相差多少秒,分钟,小时,天
杂七杂八的学习
B站用户视频观看记录的存储方案
org. xml. sax. SAXParseException; lineNumber: 141; columnNumber: 252; cvc-complex-type. 2.4. a: Found element 'B
取消远程依赖,用本地依赖
利用栈实现队列的出队入队
Dolphinscheduler调度sql任务建表时The query did not generate a result set异常解决
Django::Did you install mysqlclient?
常用UI控件简写名
Android面试计网面经大全【持续更新中。。。】
Dolphinscheduler配置Datax踩坑记录