梯度解码dicom是一种用于tensorflow的dicom图像和标签阅读器

gradient-decode-dicom的Python项目详细描述


TensorFlow解码DICOM

操作

decode dicom包含两个tensorflow操作,允许从dicom文件读取信息。

解码dicom图像

loads a dicom image file and returns its pixel information in the specified output format.

解码DICOM数据

loads a dicom image file and returns a sting tensor with the values of each of the supplied tags.

输入

内容:
* Description: byte string with the file bytes. Use tf.io.read_file to read the file contents into a string.
* Type: string

属性

数据类型:
* Description: Type for the output tensor
* Type: Dtype
* Possible Values: uint8, uint16, uint32, uint64, float, float16, double
* Default Value: uint16
色光:
* Description: Whether or not to include the color_dimension. If decoded image is monochrome and this attribute is True the output tensor will have an extra singleton dimension for the color.
* Type: Bool
* Default Value: True
打开错误:
* Description: This attribute establishes the behavior in case an error occurs on opening the image or if the output type cannot accomodate all the possible input values. *'strict'* throws an error, *'skip'* returns 0 and *'lossy'* continues with the operation as if no error occurred.
* Possible Values: 'strict', 'skip', 'lossy'
* Default Value: 'skip'
比例尺:
* Description: This attribute establishes what to do with the scale of the input values. *'auto'* will autoscale the input values, if the output type is integer, *'auto'* will use the maximum output scale, if the output is float, *'auto'* will scale to [0,1]. *'preserve'* keeps the values as they are, an input value greater than the maximum possible output will be clipped.  
* Possible Values: 'auto', 'preserve'
* Default Value: 'preserve'

输出

输出:
* Description: Pixel data of the DICOM image
* Type: Tensor of selected type (see attribute dtype)
* Dimensions: [F, I, J, C]
    * F: Number of frames
    * I: Number of rows
    * J: Number of columns
    * C: Color dimensions

安装

    pip install gradient-decode-dicom

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JavaFileUtils。资源目录上的listFiles()   如何在java安全中禁用日志记录?   列出如何在Java中对对象数组排序   堆栈帧采用的java大小   java在两个布局之间设置交叉淡入动画   java如何在SeleniumWebDriver中选择oiselect的值   java无法获取类型为org的对象的未知属性“实现”。格拉德尔。应用程序编程接口。内部的人工制品dsl。依赖关系。DefaultDependencyHandler   未找到java Android onClick内部片段   java CXF:无法创建加密类null   web服务java 1.6枚举问题com。国际商用机器公司ws。网络服务。发动机枚举。风格包裹   java将整行作为字符串数组从具有多列的树元素中获取   java在不调整窗口大小的情况下不显示所有元素   java如何在activemq中创建/预配置持久订户。xml,以便在ActiveMQ启动时准备好这些订阅?   java垃圾收集能保证程序不会耗尽内存吗?   如何从C++或PHP发送数据到java?   java Guava迭代器,并在列表对象中对列表进行迭代   java Android SQite数据库搜索和查找列错误   基于MySQL和Java的排序函数优化   具有持久性的java消息会卡在嵌入Tomcat的ActiveMQ中