Spaces:
Runtime error
Runtime error
File size: 986 Bytes
f2dbf59 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# 图像处理工具
## ColorAdjustment
对图片进行色彩校正。
### 输入
- `image`: 输入图像
- `brightness`: 亮度调整值
- `contrast`: 对比度调整值
- `saturation`: 饱和度调整值
- `hue`: 色相调整值
- `gamma`: 伽马值调整
### 输出
- `adjusted_image`: 调整后的图像
### 使用示例
...
## ColorTint
应用图片颜色滤镜。
### 输入
- `image`: 输入图像
- `tint_color`: 滤镜颜色
- `intensity`: 滤镜强度
### 输出
- `tinted_image`: 应用滤镜后的图像
### 使用示例
...
## ColorBlockEffect
实现图片色块化效果。
### 输入
- `image`: 输入图像
- `block_size`: 色块大小
### 输出
- `blocked_image`: 色块化后的图像
### 使用示例
...
## FlatteningEffect
实现图片平面化效果。
### 输入
- `image`: 输入图像
- `levels`: 平面化级别
### 输出
- `flattened_image`: 平面化后的图像
### 使用示例
... |