dicomutil

package
v0.0.0-...-f007803 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NULL_PIXEL, _ = dicom.NewElement(tag.PixelData, dicom.PixelDataInfo{
	IsEncapsulated: false,
	Frames: []frame.Frame{
		{
			Encapsulated: false,
			NativeData: frame.NativeFrame{
				BitsPerSample: 0,
				Rows:          0,
				Cols:          0,
				Data:          [][]int{{}},
			},
		},
	},
})

Functions

func Bytes2Dicom

func Bytes2Dicom(b []byte) (*dicom.Dataset, error)

func Dicom2Bytes

func Dicom2Bytes(dcm *dicom.Dataset) *[]byte

func GetUIDs

func GetUIDs(dataset *dicom.Dataset) (string, string, string, error)

func ParseFileUIDs

func ParseFileUIDs(dcm_path string) (string, string, string, error)

func RandomDicomName

func RandomDicomName() string

func TrimTag

func TrimTag(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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