(drop_length) and drop_length>=0 and drop_length<=100):
9 raise Exception(err_rain_length)
10...output= rain_process(img,slant_extreme,drop_length,drop_color,drop_width,rain_drops)
19 image_RGB.append...,drop_length,drop_color,drop_width,rain_drops)
26 image_RGB=output
27 return image_RGB
光线调整...添加碎石
添加阴影
1def add_shadow(image,no_of_shadows=1,rectangular_roi=(-1,-1,-1,-1), shadow_dimension=5):#...) and no_of_shadows>=1 and no_of_shadows<=10):
4 raise Exception(err_shadow_count)
5 if not