Documentation
¶
Index ¶
- Constants
- Variables
- func MustGetInt(v Value) int
- func MustGetInts(v Value) []int
- func MustGetString(v Value) string
- func MustGetStrings(v Value) []string
- type BytesValue
- type Dataset
- type Element
- type IntsValue
- type Parser
- type PixelDataInfo
- type PixelDataValue
- type RawElement
- type SequenceItemValue
- type SequencesValue
- type StringsValue
- type Value
- type ValueType
Constants ¶
View Source
const (
MagicWord = "DICM"
)
Variables ¶
View Source
var ( ErrorMagicWord = errors.New("error, DICM magic word not found in correct location") ErrorMetaElementGroupLength = errors.New("MetaElementGroupLength tag not found where expected") )
View Source
var ErrorElementNotFound = errors.New("element not found")
View Source
var ErrorOWRequiresEvenVL = errors.New("vr of OW requires even value length")
View Source
var ErrorUnsupportedVR = errors.New("unsupported VR")
Functions ¶
func MustGetInt ¶
func MustGetInts ¶ added in v1.0.0
func MustGetString ¶
func MustGetStrings ¶ added in v1.0.0
Types ¶
type BytesValue ¶
type BytesValue struct {
// contains filtered or unexported fields
}
BytesValue represents a value of []byte.
func (*BytesValue) GetValue ¶
func (b *BytesValue) GetValue() interface{}
func (*BytesValue) String ¶
func (b *BytesValue) String() string
func (*BytesValue) ValueType ¶
func (b *BytesValue) ValueType() ValueType
type Element ¶
type IntsValue ¶
type IntsValue struct {
// contains filtered or unexported fields
}
IntsValue represents a value of []int.
type PixelDataInfo ¶
type PixelDataValue ¶
type PixelDataValue struct {
PixelDataInfo
}
PixelDataValue represents DICOM PixelData
func (*PixelDataValue) GetValue ¶
func (e *PixelDataValue) GetValue() interface{}
func (*PixelDataValue) String ¶
func (e *PixelDataValue) String() string
func (*PixelDataValue) ValueType ¶
func (e *PixelDataValue) ValueType() ValueType
type RawElement ¶
type SequenceItemValue ¶ added in v1.0.0
type SequenceItemValue struct {
// contains filtered or unexported fields
}
func (*SequenceItemValue) GetValue ¶ added in v1.0.0
func (s *SequenceItemValue) GetValue() interface{}
func (*SequenceItemValue) String ¶ added in v1.0.0
func (s *SequenceItemValue) String() string
func (*SequenceItemValue) ValueType ¶ added in v1.0.0
func (s *SequenceItemValue) ValueType() ValueType
type SequencesValue ¶
type SequencesValue struct {
// contains filtered or unexported fields
}
SequencesValue represents a set of items in a DICOM sequence.
func (*SequencesValue) GetValue ¶
func (s *SequencesValue) GetValue() interface{}
func (*SequencesValue) String ¶
func (s *SequencesValue) String() string
func (*SequencesValue) ValueType ¶
func (s *SequencesValue) ValueType() ValueType
type StringsValue ¶
type StringsValue struct {
// contains filtered or unexported fields
}
StringsValue represents a value of []string.
func (*StringsValue) GetValue ¶
func (s *StringsValue) GetValue() interface{}
func (*StringsValue) String ¶
func (s *StringsValue) String() string
func (*StringsValue) ValueType ¶
func (s *StringsValue) ValueType() ValueType
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
dicomutil
command
Really basic sanity check program
|
Really basic sanity check program |
|
legacy
module
|
|
|
mocks
|
|
|
pkg/dicomio
Package mock_dicomio is a generated GoMock package.
|
Package mock_dicomio is a generated GoMock package. |
|
pkg
|
|
|
tag
Package dicomtag enumerates element tags defined in the DICOM standard.
|
Package dicomtag enumerates element tags defined in the DICOM standard. |
Click to show internal directories.
Click to hide internal directories.