# SegmentationProperty (/zh-CN/api-reference/rtc/cpp-all-platforms/class-segmentationproperty)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```cpp
struct SegmentationProperty {
SEG_MODEL_TYPE modelType;
float greenCapacity;
SCREEN_COLOR_TYPE screenColorType;
};
```
## 属性 [#属性]
用于背景处理的算法类型。详见 [SEG_MODEL_TYPE](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-segmodeltype)。
识别图像中背景颜色的精度范围。取值范围为 [0,1],默认值为 0.5。值越大,可识别的纯色色调范围越广。当该参数值过大时,人物边缘和人物区域内的纯色也可能被检测到。声网建议根据实际效果动态调整该参数的值。
:::note
注: 仅当 `modelType` 设置为 `SEG_MODEL_GREEN` 时该参数才生效。
:::
屏幕颜色类型。详见 [SCREEN_COLOR_TYPE](/zh-CN/api-reference/rtc/cpp-all-platforms/enum-screencolortype)。