Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PixelDataMacro ¶
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
Click to show internal directories.
Click to hide internal directories.