> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-comfy-docs-comfyapi-search.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# AdjustContrast - ComfyUI Built-in Node Documentation

> Adjust Contrast 节点通过围绕颜色范围中点缩放亮部与暗部之间的差异来调整输入图像的对比度。

Adjust Contrast 节点通过围绕颜色范围中点缩放亮部与暗部之间的差异来调整输入图像的对比度。因子为 1.0 时图像保持不变，低于 1.0 时降低对比度，高于 1.0 时增加对比度。

## 输入

| 参数      | 描述                                                   | 数据类型  | 是否必需 | 范围        |
| ------- | ---------------------------------------------------- | ----- | ---- | --------- |
| `image` | 需要调整对比度的输入图像。                                        | IMAGE | 是    | -         |
| `系数`    | 对比度因子。1.0 = 无变化，\<1.0 = 降低对比度，>1.0 = 提高对比度。（默认值：1.0） | FLOAT | 否    | 0.0 - 2.0 |

## 输出

| 输出名称 | 描述                                                           | 数据类型  |
| ---- | ------------------------------------------------------------ | ----- |
| `图像` | 调整对比度后得到的图像。像素值会被限制在 0.0–1.0 范围内。如果输入图像带有 alpha 通道，则该通道保持不变。 | IMAGE |

> 本文档由 AI 生成。如果您发现任何错误或有改进建议，欢迎贡献！ [在 GitHub 上编辑](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/AdjustContrast/zh.md)

***

**Source fingerprint (SHA-256):** `489f840cc3d98339a5cf7b55e9179c60878c58b2f992740796c7d49642e05932`
