请帮我创建一个pyradiomics提取特征的配置yaml文件
时间: 2024-02-19 15:03:00 浏览: 130
好的,以下是一个简单的 pyradiomics 配置文件示例:
```yaml
imageType: Original
binWidth: 25
resampledPixelSpacing:
- 1
- 1
- 1
interpolator: sitkBSpline
normalize: true
enableCExtensions: true
additionalInfo: true
geometryTolerance: 1e-9
preCrop: true
preCropSize:
- 50
- 50
- 50
label:
exclude:
- 0
voxelBased: true
additionalInfo: true
additionalClasses:
- value: 1
name: tumor
annotations:
- description: tumor region
identifier: Tumor
data: {'foo': 'bar'}
- value: 2
name: necrosis
annotations:
- description: necrotic region
identifier: Necrosis
data: {'foo': 'bar'}
- value: 3
name: edema
annotations:
- description: peritumoral edema
identifier: Edema
data: {'foo': 'bar'}
- value: 4
name: enhancing
annotations:
- description: enhancing region
identifier: Enhancing
data: {'foo': 'bar'}
interpolation: NearestNeighbor
minimumROIDimensions:
- 1
- 1
- 1
boundingBoxMargin:
- 5
- 5
- 5
force2D: false
force2Ddimension: 0
force2DsliceNumber: -1
standardize: true
normalize: true
normalizeScale: 1
normalizeBackground: false
voxelArrayShift: false
voxelArrayShiftDistance: 1
resampledPixelSpacing:
- 1
- 1
- 1
padDistance: 5
originalShape: true
label: true
centroid: true
boundingBox: true
physicalSize: true
originalImageShape: true
enabledImageTypes:
- Original
- LoG
- Wavelet
- Square
- SquareRoot
- Gradient
- LBP
enabledFeatures:
- shape
- firstorder
- glcm
- glrlm
- glszm
- ngtdm
- gldm
```
你可以根据你的数据和需求进行相应的修改。
阅读全文