Blame toonz/sources/stdfx/igs_gaussian_blur.h
|
Shinya Kitaoka |
810553 |
#pragma once
|
|
Shinya Kitaoka |
810553 |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef igs_gaussian_blur_hv_h
|
|
Toshihiro Shimizu |
890ddd |
#define igs_gaussian_blur_hv_h
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#ifndef IGS_GAUSSIAN_BLUR_HV_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#define IGS_GAUSSIAN_BLUR_HV_EXPORT
|
|
Toshihiro Shimizu |
890ddd |
#endif
|
|
Toshihiro Shimizu |
890ddd |
|
|
Shinya Kitaoka |
120a6e |
namespace igs {
|
|
Shinya Kitaoka |
120a6e |
namespace gaussian_blur_hv {
|
|
Shinya Kitaoka |
120a6e |
IGS_GAUSSIAN_BLUR_HV_EXPORT const int int_radius(const double real_radius);
|
|
Shinya Kitaoka |
120a6e |
IGS_GAUSSIAN_BLUR_HV_EXPORT const int buffer_bytes(const int height_with_margin,
|
|
Shinya Kitaoka |
120a6e |
const int width_with_margin,
|
|
Shinya Kitaoka |
120a6e |
const int int_radius);
|
|
Toshihiro Shimizu |
890ddd |
IGS_GAUSSIAN_BLUR_HV_EXPORT void convert(
|
|
Shinya Kitaoka |
120a6e |
/* 入出力画像 */
|
|
shun-iwasawa |
481b59 |
const float* in_with_margin, float* out_no_margin,
|
|
Shinya Kitaoka |
120a6e |
const int height_with_margin, const int width_with_margin,
|
|
shun-iwasawa |
481b59 |
const int channels,
|
|
Shinya Kitaoka |
120a6e |
/* Pixel毎に効果の強弱 */
|
|
shun-iwasawa |
481b59 |
const float* ref, /* 求める画像(out)と同じ高、幅、ch数 */
|
|
Shinya Kitaoka |
120a6e |
/* 計算バッファ */
|
|
shun-iwasawa |
481b59 |
void* buffer,
|
|
shun-iwasawa |
481b59 |
int buffer_bytes, // Must be igs::gaussian_blur_hv::buffer_bytes(-)
|
|
Shinya Kitaoka |
120a6e |
/* Action Geometry */
|
|
shun-iwasawa |
481b59 |
const int int_radius, // =margin
|
|
Shinya Kitaoka |
120a6e |
const double real_radius, const double sigma = 0.25);
|
|
shun-iwasawa |
481b59 |
} // namespace gaussian_blur_hv
|
|
shun-iwasawa |
481b59 |
} // namespace igs
|
|
Toshihiro Shimizu |
890ddd |
|
|
Toshihiro Shimizu |
890ddd |
#endif /* !igs_gaussian_blur_hv_h */
|