2016-05-17 03:04:11 +12:00
|
|
|
#pragma once
|
|
|
|
|
2016-03-19 06:57:51 +13:00
|
|
|
#ifndef igs_level_auto_h
|
|
|
|
#define igs_level_auto_h
|
|
|
|
|
|
|
|
#ifndef IGS_LEVEL_AUTO_EXPORT
|
|
|
|
#define IGS_LEVEL_AUTO_EXPORT
|
|
|
|
#endif
|
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
namespace igs {
|
|
|
|
namespace level_auto {
|
|
|
|
IGS_LEVEL_AUTO_EXPORT void change(unsigned char *image_array,
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
const int height, const int width,
|
|
|
|
const int channels, const int bits,
|
2016-03-19 06:57:51 +13:00
|
|
|
|
2016-06-15 18:43:10 +12:00
|
|
|
const bool *act_sw, // true(false/true)
|
|
|
|
const double *in_min_shift, // 0(-1...1)
|
|
|
|
const double *in_max_shift, // 0(-1...1)
|
|
|
|
const double *out_min, // 0(0...1)
|
|
|
|
const double *out_max, // 1(0...1)
|
|
|
|
const double *gamma // 1(0.01...100)
|
|
|
|
);
|
2016-03-19 06:57:51 +13:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* !igs_level_auto_h */
|