suyashkumar / dicom

⚡High Performance DICOM Medical Image Parser in Go.
MIT License
933 stars 136 forks source link

Add ability to keep track of only required Context Elements #267

Open suyashkumar opened 1 year ago

suyashkumar commented 1 year ago

This may reduce peak memory requirements if the user is using the Parser.Next() API and does not need the whole dataset in memory at once. That said, the element data probably isn't that significant compared to PixelData, so skipping reading or processing the PixelData is probably the best way to go to reduce max memory usage. This addresses #257.