Versions in this module Expand all Collapse all v0 v0.0.6 Apr 8, 2020 v0.0.5 Mar 17, 2020 v0.0.4 Mar 17, 2020 v0.0.3 Mar 17, 2020 v0.0.2 Mar 17, 2020 v0.0.1 Mar 17, 2020 Changes in this version + const GoDICOMImplementationClassUIDPrefix + const GoDICOMImplementationVersionName + const InvalidDay + const InvalidMonth + const InvalidYear + var GoDICOMImplementationClassUID = GoDICOMImplementationClassUIDPrefix + ".1.1" + func WriteDataSet(out io.Writer, ds *DataSet) error + func WriteDataSetToFile(path string, ds *DataSet) error + func WriteElement(e *dicomio.Encoder, elem *Element) + func WriteFileHeader(e *dicomio.Encoder, metaElems []*Element) + type DataSet struct + Elements []*Element + func ReadDataSet(in io.Reader, options ReadOptions) (*DataSet, error) + func ReadDataSetFromFile(path string, options ReadOptions) (*DataSet, error) + func ReadDataSetInBytes(data []byte, options ReadOptions) (*DataSet, error) + func (f *DataSet) FindElementByName(name string) (*Element, error) + func (f *DataSet) FindElementByTag(tag dicomtag.Tag) (*Element, error) + type DateInfo struct + Day int + Month int + Str string + Year int + func ParseDate(s string) (startDate, endDate DateInfo, err error) + func (d DateInfo) String() string + type DirectoryRecord struct + Path string + func ParseDICOMDIR(in io.Reader) (recs []DirectoryRecord, err error) + type Element struct + Tag dicomtag.Tag + UndefinedLength bool + VR string + Value []interface{} + func FindElementByName(elems []*Element, name string) (*Element, error) + func FindElementByTag(elems []*Element, tag dicomtag.Tag) (*Element, error) + func MustNewElement(tag dicomtag.Tag, values ...interface{}) *Element + func NewElement(tag dicomtag.Tag, values ...interface{}) (*Element, error) + func ParseFileHeader(d *dicomio.Decoder) []*Element + func Query(ds *DataSet, f *Element) (match bool, matchedElem *Element, err error) + func ReadElement(d *dicomio.Decoder, options ReadOptions) *Element + func (e *Element) GetString() (string, error) + func (e *Element) GetStrings() ([]string, error) + func (e *Element) GetUInt16() (uint16, error) + func (e *Element) GetUInt32() (uint32, error) + func (e *Element) GetUint16s() ([]uint16, error) + func (e *Element) GetUint32s() ([]uint32, error) + func (e *Element) MustGetString() string + func (e *Element) MustGetStrings() []string + func (e *Element) MustGetUInt16() uint16 + func (e *Element) MustGetUInt32() uint32 + func (e *Element) MustGetUint16s() []uint16 + func (e *Element) MustGetUint32s() []uint32 + func (e *Element) String() string + type PixelDataInfo struct + Frames [][]byte + Offsets []uint32 + func (data PixelDataInfo) String() string + type ReadOptions struct + DropPixelData bool + ReturnTags []dicomtag.Tag + StopAtTag *dicomtag.Tag