go2com

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

README

go2com

DICOM image parser

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	// contains filtered or unexported fields
}

Parser implements the field required to parse the dicom file

func NewParser

func NewParser(fileReader io.Reader, fileSize int64, skipPixelData, skipDataset bool) (*Parser, error)

NewParser returns a new dicom parser

func (*Parser) ConvertToMap

func (p *Parser) ConvertToMap() map[string]element.Element

func (*Parser) Export

func (p *Parser) Export() map[string]TagBrowser

func (*Parser) GetDataset

func (p *Parser) GetDataset() dataset.Dataset

func (*Parser) GetMetadata

func (p *Parser) GetMetadata() dataset.Dataset

func (*Parser) Parse

func (p *Parser) Parse() error

type TagBrowser

type TagBrowser struct {
	VR    string      `json:"vr"`
	Value interface{} `json:"Value"`
}

Directories

Path Synopsis
cmd
tag
internal
pkg

Jump to

Keyboard shortcuts

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