Spaces:
Sleeping
Sleeping
name plots
Browse files
app.py
CHANGED
|
@@ -22,7 +22,8 @@ def histogram(img: np.ndarray) -> Curve:
|
|
| 22 |
hist_curve = Curve(
|
| 23 |
hist_curves,
|
| 24 |
xlabel="Intensity",
|
| 25 |
-
ylabel="Frequency"
|
|
|
|
| 26 |
)
|
| 27 |
return hist_curve
|
| 28 |
|
|
@@ -86,7 +87,7 @@ def s_curve_visualization(global_params={}) -> Curve:
|
|
| 86 |
SingleCurve(x, y, style='m-'),
|
| 87 |
SingleCurve(x, x, style='k--'),
|
| 88 |
],
|
| 89 |
-
xlabel="Input", ylabel="Output"
|
| 90 |
)
|
| 91 |
|
| 92 |
|
|
|
|
| 22 |
hist_curve = Curve(
|
| 23 |
hist_curves,
|
| 24 |
xlabel="Intensity",
|
| 25 |
+
ylabel="Frequency",
|
| 26 |
+
title="Histogram"
|
| 27 |
)
|
| 28 |
return hist_curve
|
| 29 |
|
|
|
|
| 87 |
SingleCurve(x, y, style='m-'),
|
| 88 |
SingleCurve(x, x, style='k--'),
|
| 89 |
],
|
| 90 |
+
xlabel="Input", ylabel="Output", title="Tone Curve"
|
| 91 |
)
|
| 92 |
|
| 93 |
|