# ToFConfig

此消息用于配置 [ToF](https://docs.luxonis.com/software/depthai-components/nodes/tof.md) 节点。

## 功能示例

 * [ToF 深度](https://docs.luxonis.com/software/depthai/examples/tof_depth.md)

## 参考

### depthai.ToFConfig(depthai.Buffer)

Kind: Class

ToFConfig message. Carries config for feature tracking algorithm

#### __init__()

Kind: Method

#### get(self) -> RawToFConfig: RawToFConfig

Kind: Method

Retrieve configuration data for ToF.

Returns:
config for feature tracking algorithm

#### set(self, config: RawToFConfig) -> ToFConfig: ToFConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

#### setMedianFilter(self, arg0: MedianFilter) -> ToFConfig: ToFConfig

Kind: Method

Parameter ``median``:
Set kernel size for median filtering, or disable

### 需要帮助？

请前往 [OAKChina 官网](https://www.oakchina.cn/) 获取技术支持或解答您的任何疑问。
