diff --git a/.idea/cloudage.iml b/.idea/cloudage.iml
new file mode 100644
index 0000000..d2e1bdd
--- /dev/null
+++ b/.idea/cloudage.iml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/R_User_Library.xml b/.idea/libraries/R_User_Library.xml
new file mode 100644
index 0000000..71f5ff7
--- /dev/null
+++ b/.idea/libraries/R_User_Library.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000..3999087
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..55e15bd
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..94a25f7
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
new file mode 100644
index 0000000..a000cf9
--- /dev/null
+++ b/.idea/workspace.xml
@@ -0,0 +1,286 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1652701349578
+
+
+ 1652701349578
+
+
+
+
+
+ 1652780607612
+
+
+
+ 1652780607612
+
+
+ 1652921949582
+
+
+
+ 1652921949583
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ file://$PROJECT_DIR$/cloudage.py
+ 96
+
+
+
+ file://$PROJECT_DIR$/cloudage.py
+ 92
+
+
+
+
+
+
+
+
+
+
+
+ s_tc.max()
+ Python
+ EXPRESSION
+
+
+ s_tc.min()
+ Python
+ EXPRESSION
+
+
+ s.max()
+ Python
+ EXPRESSION
+
+
+ l.max()
+ Python
+ EXPRESSION
+
+
+ h.max()
+ Python
+ EXPRESSION
+
+
+ h1.max()
+ Python
+ EXPRESSION
+
+
+ v3.max()
+ Python
+ EXPRESSION
+
+
+ s2.max()
+ Python
+ EXPRESSION
+
+
+ s.max
+ Python
+ EXPRESSION
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/cloudage.py b/cloudage.py
index 17dde78..3bfc481 100644
--- a/cloudage.py
+++ b/cloudage.py
@@ -160,14 +160,13 @@ if __name__ == '__main__':
# calculate_mean_var(train_image_path3)
# 证明python-opencv的饱和度值域范围未0-255
- calculate_mean_var(train_image_path4)
- calculate_mean_var(train_image_path5)
-
+ # calculate_mean_var(train_image_path4)
+ # calculate_mean_var(train_image_path5)
image_path = r'D:\PycharmProjects\cloudage\photo\photo12.jpg'
# image_path = r'D:\PycharmProjects\cloudage\photo\cloud1_perfect.jpg'
# ratio_method1(image_path)
- # ratio_method2(image_path)
+ ratio_method2(image_path)
# ratio_method1_subtract_ratio_method2(image_path)
# saturability_method(image_path)
diff --git a/photo/cloud1_perfect.jpg b/photo/cloud1_perfect.jpg
new file mode 100644
index 0000000..c0a281f
Binary files /dev/null and b/photo/cloud1_perfect.jpg differ
diff --git a/photo/photo1.jpg b/photo/photo1.jpg
new file mode 100644
index 0000000..29c1362
Binary files /dev/null and b/photo/photo1.jpg differ
diff --git a/photo/photo10.jpg b/photo/photo10.jpg
new file mode 100644
index 0000000..f6be3bf
Binary files /dev/null and b/photo/photo10.jpg differ
diff --git a/photo/photo10_(b-r)_(b+r).jpg b/photo/photo10_(b-r)_(b+r).jpg
new file mode 100644
index 0000000..1e7813e
Binary files /dev/null and b/photo/photo10_(b-r)_(b+r).jpg differ
diff --git a/photo/photo10_r_b.jpg b/photo/photo10_r_b.jpg
new file mode 100644
index 0000000..645cf03
Binary files /dev/null and b/photo/photo10_r_b.jpg differ
diff --git a/photo/photo10_subtract.jpg b/photo/photo10_subtract.jpg
new file mode 100644
index 0000000..31f530e
Binary files /dev/null and b/photo/photo10_subtract.jpg differ
diff --git a/photo/photo11.jpg b/photo/photo11.jpg
new file mode 100644
index 0000000..c21bf53
Binary files /dev/null and b/photo/photo11.jpg differ
diff --git a/photo/photo11_(b-r)_(b+r).jpg b/photo/photo11_(b-r)_(b+r).jpg
new file mode 100644
index 0000000..00e2a2c
Binary files /dev/null and b/photo/photo11_(b-r)_(b+r).jpg differ
diff --git a/photo/photo11_r_b.jpg b/photo/photo11_r_b.jpg
new file mode 100644
index 0000000..7a233fb
Binary files /dev/null and b/photo/photo11_r_b.jpg differ
diff --git a/photo/photo11_subtract.jpg b/photo/photo11_subtract.jpg
new file mode 100644
index 0000000..02458f4
Binary files /dev/null and b/photo/photo11_subtract.jpg differ
diff --git a/photo/photo12.jpg b/photo/photo12.jpg
new file mode 100644
index 0000000..09dfc0a
Binary files /dev/null and b/photo/photo12.jpg differ
diff --git a/photo/photo12_(b-r)_(b+r).jpg b/photo/photo12_(b-r)_(b+r).jpg
new file mode 100644
index 0000000..3bfdb48
Binary files /dev/null and b/photo/photo12_(b-r)_(b+r).jpg differ
diff --git a/photo/photo12_BinaryImg_ratio1.jpg b/photo/photo12_BinaryImg_ratio1.jpg
new file mode 100644
index 0000000..545f3eb
Binary files /dev/null and b/photo/photo12_BinaryImg_ratio1.jpg differ
diff --git a/photo/photo12_BinaryImg_ratio2.jpg b/photo/photo12_BinaryImg_ratio2.jpg
new file mode 100644
index 0000000..ab8bfe3
Binary files /dev/null and b/photo/photo12_BinaryImg_ratio2.jpg differ
diff --git a/photo/photo12_r_b.jpg b/photo/photo12_r_b.jpg
new file mode 100644
index 0000000..50ba9f3
Binary files /dev/null and b/photo/photo12_r_b.jpg differ
diff --git a/photo/photo12_saturation----.jpg b/photo/photo12_saturation----.jpg
new file mode 100644
index 0000000..9a16d52
Binary files /dev/null and b/photo/photo12_saturation----.jpg differ
diff --git a/photo/photo12_saturation.jpg b/photo/photo12_saturation.jpg
new file mode 100644
index 0000000..c2e21fc
Binary files /dev/null and b/photo/photo12_saturation.jpg differ
diff --git a/photo/photo12_subtract.jpg b/photo/photo12_subtract.jpg
new file mode 100644
index 0000000..050e1be
Binary files /dev/null and b/photo/photo12_subtract.jpg differ
diff --git a/photo/photo2.jpg b/photo/photo2.jpg
new file mode 100644
index 0000000..0ebb251
Binary files /dev/null and b/photo/photo2.jpg differ
diff --git a/photo/photo3.jpg b/photo/photo3.jpg
new file mode 100644
index 0000000..678cdb8
Binary files /dev/null and b/photo/photo3.jpg differ
diff --git a/photo/photo4.jpg b/photo/photo4.jpg
new file mode 100644
index 0000000..e197120
Binary files /dev/null and b/photo/photo4.jpg differ
diff --git a/photo/photo5.jpg b/photo/photo5.jpg
new file mode 100644
index 0000000..2428b47
Binary files /dev/null and b/photo/photo5.jpg differ
diff --git a/photo/photo6.jpg b/photo/photo6.jpg
new file mode 100644
index 0000000..6986dae
Binary files /dev/null and b/photo/photo6.jpg differ
diff --git a/photo/photo7.jpg b/photo/photo7.jpg
new file mode 100644
index 0000000..3270935
Binary files /dev/null and b/photo/photo7.jpg differ
diff --git a/photo/photo8.jpg b/photo/photo8.jpg
new file mode 100644
index 0000000..4beb07e
Binary files /dev/null and b/photo/photo8.jpg differ
diff --git a/photo/photo9.jpg b/photo/photo9.jpg
new file mode 100644
index 0000000..fdca77c
Binary files /dev/null and b/photo/photo9.jpg differ
diff --git a/photo/微信图片_20220523161428.png b/photo/微信图片_20220523161428.png
new file mode 100644
index 0000000..a3e2e08
Binary files /dev/null and b/photo/微信图片_20220523161428.png differ
diff --git a/train/cloude.jpg b/train/cloude.jpg
new file mode 100644
index 0000000..5a927fc
Binary files /dev/null and b/train/cloude.jpg differ
diff --git a/train/light cloud.jpg b/train/light cloud.jpg
new file mode 100644
index 0000000..7bfde68
Binary files /dev/null and b/train/light cloud.jpg differ
diff --git a/train/photo12 - 副本 - 副本.jpg b/train/photo12 - 副本 - 副本.jpg
new file mode 100644
index 0000000..09dfc0a
Binary files /dev/null and b/train/photo12 - 副本 - 副本.jpg differ
diff --git a/train/s61.jpg b/train/s61.jpg
new file mode 100644
index 0000000..4e9f961
Binary files /dev/null and b/train/s61.jpg differ
diff --git a/train/s96.jpg b/train/s96.jpg
new file mode 100644
index 0000000..34a76f6
Binary files /dev/null and b/train/s96.jpg differ
diff --git a/train/sky.jpg b/train/sky.jpg
new file mode 100644
index 0000000..8013f9f
Binary files /dev/null and b/train/sky.jpg differ