我只能找到一个参考解释如何使用Fellow Oak 库获取 Hounsfield 值,该库说它是由公式确定的
Hounsfield units = (Rescale Slope * Pixel Value) + Rescale Intercept
此公式中的“像素值”是否高于由PixelDataFactory 中的Create 方法产生的IPixelData数据?
对于我使用 DicomPixelData 的 MONOCHROME2 图像数据集,BitsAllocated=16 BitsDepth.BitStored=16。PixelDataFactor.Create 方法返回GrayscalePixelData16S IPixelData 和所有图像范围内的数据(使用MinMax())-2048 和 1013)。我使用以下命令生成此 IPixelData.Data:
var dicomFile = DicomFile.Open(string.Concat(path, "/", file.Name));
DicomPixelData pixelData = DicomPixelData.Create(dicomFile.Dataset, false);
var pixelDataRender = PixelDataFactory.Create(pixelData, 0);
对于我正在使用的 95 个轴向图像,Rescale Intercept=0 和 Rescale Slope=1,所以在我的情况下,Hounsfield 单位将是stackoverflow post中显示的公式中的“像素值”输入。
我可以找到的参考资料说 Hounsfield 值范围 -1024 HU 到 3071 HU,这是否意味着生成的 IPixelData 数据不是 Hounsfield 值?最终,我怎样才能使用同胞橡树库获得 Hounsfield 场?