1 #pragma once 2 3 #ifndef igs_hsv_noise_in_camera_h 4 #define igs_hsv_noise_in_camera_h 5 6 #ifndef IGS_HSV_NOISE_IN_CAMERA_EXPORT 7 #define IGS_HSV_NOISE_IN_CAMERA_EXPORT 8 #endif 9 10 namespace igs { 11 namespace hsv_noise_in_camera { 12 IGS_HSV_NOISE_IN_CAMERA_EXPORT void change( 13 void *image_array 14 15 , 16 const int height, const int width, const int channels, const int bits 17 18 , 19 const int camera_x, const int camera_y, const int camera_w, 20 const int camera_h 21 22 , 23 const double hue_range = 0.025 // 0 ... 1.0 24 , 25 const double sat_range = 0.0 // 0 ... 1.0 26 , 27 const double val_range = 0.035 // 0 ... 1.0 28 , 29 const double alp_range = 0.0 // 0 ... 1.0 30 , 31 const unsigned long random_seed = 1 // 0 ... ULONG_MAX 32 , 33 const double near_blur = 0.500 // 0 ... 0.5 34 35 , 36 const double sat_effective = 0.0 // 0 ... 1.0 37 , 38 const double sat_center = 0.5 // 0 ... 1.0 39 , 40 const int sat_type = 0 41 // 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term) 42 , 43 const double val_effective = 0.0 // 0 ... 1.0 44 , 45 const double val_center = 0.5 // 0 ... 1.0 46 , 47 const int val_type = 0 48 // 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term) 49 , 50 const double alp_effective = 0.0 // 0 ... 1.0 51 , 52 const double alp_center = 0.5 // 0 ... 1.0 53 , 54 const int alp_type = 0 55 // 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term) 56 ); 57 } 58 } 59 60 #endif /* !igs_hsv_noise_in_camera_h */ 61