本系列博客后续将更新于个人微信公众号,欢迎关注。![](https://img-blog.csdn.net/20181022201516826?watermark/2/text/aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0ppYW5KdWx5/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70)
4.3 General Info Module
class radiomics.generalinfo.GeneralInfo(imagePath,maskPath, resampledMask, settings, enabledImageTypes)
execute()
返回包含所有通用信息的字典
getBoundingBoxValue()
计算和返回resampledMask的boundingbox,0,1,2号元素分别是x,y,z的下界,3,4,5号元素分别是x,y,z的上界
getGeneralSettingsValue()
返回通用设置信息的字典
getImageHashValue()
返回原始图像的希尔值
getImageSpacingValue()
返回原始图像(进行任何重采样前)的spacing
getEnabledImageTypesValue()
getMaskHashValue()
返回mask的希尔值
getVersionValue()
getVolumeNumValue()
计算和返回resampledMask的连通域的数量
getVoxelNumValue()
计算和返回resampledMask的体素的数量