31 lines
1.1 KiB
C++
31 lines
1.1 KiB
C++
#pragma once
|
||
|
||
#ifndef igs_gaussian_blur_hv_h
|
||
#define igs_gaussian_blur_hv_h
|
||
|
||
#ifndef IGS_GAUSSIAN_BLUR_HV_EXPORT
|
||
#define IGS_GAUSSIAN_BLUR_HV_EXPORT
|
||
#endif
|
||
|
||
namespace igs {
|
||
namespace gaussian_blur_hv {
|
||
IGS_GAUSSIAN_BLUR_HV_EXPORT const int int_radius(const double real_radius);
|
||
IGS_GAUSSIAN_BLUR_HV_EXPORT const int buffer_bytes(const int height_with_margin,
|
||
const int width_with_margin,
|
||
const int int_radius);
|
||
IGS_GAUSSIAN_BLUR_HV_EXPORT void convert(
|
||
/* 入出力画像 */
|
||
const float* in_with_margin, float* out_no_margin,
|
||
const int height_with_margin, const int width_with_margin,
|
||
const int channels,
|
||
/* Pixel毎に効果の強弱 */
|
||
const float* ref, /* 豎ゅa繧狗判蜒・out)縺ィ蜷後§鬮倥∝ケ・…h謨ー */
|
||
void* buffer,
|
||
int buffer_bytes, // Must be igs::gaussian_blur_hv::buffer_bytes(-)
|
||
/* Action Geometry */
|
||
const int int_radius, // =margin
|
||
const double real_radius, const double sigma = 0.25);
|
||
} // namespace gaussian_blur_hv
|
||
} // namespace igs
|
||
|
||
#endif /* !igs_gaussian_blur_hv_h */
|