tomdoel / pulmonarytoolkit

Lung medical image analysis and visualisation software for Matlab.
GNU General Public License v3.0
86 stars 58 forks source link

PTKDensityAverage fails with negative pixel data #35

Closed tomdoel closed 5 years ago

tomdoel commented 5 years ago

Can occur if the underlying pixel data values are negative (or more generally have an intercept of -1024). This is due to PTKLungInteriorNonParenchymaPoints not converting the minimum value correctly.

tomdoel commented 5 years ago

Fixed in v1.0.1