View in #cornerstone3d on Slack
@Jason_Hostetter: When saving all annotations, i.e. with cornerstoneTools.annotation.state.getAnnotationManager().saveAnnotations()
, the ROI tools use cachedStats
to store the calculated stats, but they also appear to cache pointsInShape
, which is it seems metadata about every pixel included in the ROI, which when serialized can balloon the data to multiple megabytes for just one ROI. Does pointsInShape
need to be included in cachedStats
?
@Rod_Fitzsimmons_Frey: My application is stripping that data without any bad effects.
@Alireza_Sedghi: I just merged a PR for this 
maybe 2 hours ago
@Jason_Hostetter: lol nice
@Rod_Fitzsimmons_Frey: Haha! It seems like every thing I bump into in cornerstone is fixed the next week
@Alireza_Sedghi: https://github.com/cornerstonejs/cornerstone3D/pull/1733
this PR was initially a community PR, so we have a great community
@Jason_Hostetter: Absolutely cracked team though no doubt