iod

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PixelDataMacro

type PixelDataMacro map[tag.DicomTag]*dcm_io.Element

func GetPixelDataMacroAttributes

func GetPixelDataMacroAttributes(ds, meta dcm_io.Dataset) PixelDataMacro

GetPixelDataMacroAttributes retrieves the tags and values corresponding to the PixelData macro

+------------------------------------------------+
| Element                                        |
+-------------+---------------------------+------+
| Tag         | Keyword                   | Type |
+=============+===========================+======+
| (0028,0002) | SamplesPerPixel           | 1    |
+-------------+---------------------------+------+
| (0028,0004) | PhotometricInterpretation | 1    |
+-------------+---------------------------+------+
| (0028,0006) | PlanarConfiguration       | 1C   |
+-------------+---------------------------+------+
| (0028,0008) | NumberOfFrames            | 1C   |
+-------------+---------------------------+------+
| (0028,0010) | Rows                      | 1    |
+-------------+---------------------------+------+
| (0028,0011) | Columns                   | 1    |
+-------------+---------------------------+------+
| (0028,0100) | BitsAllocated             | 1    |
+-------------+---------------------------+------+
| (0028,0101) | BitsStored                | 1    |
+-------------+---------------------------+------+
| (0028,0103) | PixelRepresentation       | 1    |
+-------------+---------------------------+------+
| (7FE0,0008) | FloatPixelData            | 1C   |
+-------------+---------------------------+------+
| (7FE0,0009) | DoubleFloatPixelData      | 1C   |
+-------------+---------------------------+------+
| (7FE0,0010) | PixelData                 | 1C   |
+-------------+---------------------------+------+

func (PixelDataMacro) GetExpectedPixelData

func (px PixelDataMacro) GetExpectedPixelData() int

func (PixelDataMacro) ReadEncapsulatedPixelData

func (px PixelDataMacro) ReadEncapsulatedPixelData() ([]byte, error)

func (PixelDataMacro) ValidatePixelData

func (px PixelDataMacro) ValidatePixelData() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL