Skip to content

A simple parser for sequential lossless jpeg pixel data used in dicom ct files

License

Notifications You must be signed in to change notification settings

jamesshenjian/jpegsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jpegsl

A simple golang parser for sequential lossless jpeg pixel data used in dicom ct files

Sample code:

data, err := os.ReadFile(file)  //or get the pixel data value from dicom
if err != nil {
    //...
}
//call Decode to get an slice of integers
decodedData := jpegsl.Decode(data)
//cast slice elements based on tag PixelRepresentation (value 0: unsigned; 1:signed) and BitsAllocated to correct type
//TODO

About

A simple parser for sequential lossless jpeg pixel data used in dicom ct files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages