|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Shinya Kitaoka |
810553 |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef igs_hsv_noise_in_camera_h
|
|
Toshihiro Shimizu |
890ddd |
#define igs_hsv_noise_in_camera_h
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef IGS_HSV_NOISE_IN_CAMERA_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#define IGS_HSV_NOISE_IN_CAMERA_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
namespace igs {
|
|
Shinya Kitaoka |
120a6e |
namespace hsv_noise_in_camera {
|
|
Toshihiro Shimizu |
890ddd |
IGS_HSV_NOISE_IN_CAMERA_EXPORT void change(
|
|
Shinya Kitaoka |
120a6e |
void *image_array
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int height, const int width, const int channels, const int bits
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int camera_x, const int camera_y, const int camera_w,
|
|
Shinya Kitaoka |
120a6e |
const int camera_h
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double hue_range = 0.025 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double sat_range = 0.0 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double val_range = 0.035 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double alp_range = 0.0 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const unsigned long random_seed = 1 // 0 ... ULONG_MAX
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double near_blur = 0.500 // 0 ... 0.5
|
|
Shinya Kitaoka |
120a6e |
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double sat_effective = 0.0 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double sat_center = 0.5 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int sat_type = 0
|
|
Shinya Kitaoka |
120a6e |
// 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term)
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double val_effective = 0.0 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double val_center = 0.5 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int val_type = 0
|
|
Shinya Kitaoka |
120a6e |
// 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term)
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double alp_effective = 0.0 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const double alp_center = 0.5 // 0 ... 1.0
|
|
Shinya Kitaoka |
120a6e |
,
|
|
Shinya Kitaoka |
120a6e |
const int alp_type = 0
|
|
Shinya Kitaoka |
120a6e |
// 0(shift_whole),1(shift_term),2(decrease_whole),3(decrease_term)
|
|
Shinya Kitaoka |
120a6e |
);
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
}
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif /* !igs_hsv_noise_in_camera_h */
|