diff options
author | Merov Linden <merov@lindenlab.com> | 2014-01-21 13:05:54 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2014-01-21 13:05:54 -0800 |
commit | 6c630b73a825befb6eeef66d7ed0063b1b891df7 (patch) | |
tree | e3ba95bc7a6668a5db9ae3f9193c9c2345745bd8 /indra/llimage/llimagefilter.h | |
parent | d14392f55f9c47ba121d5470a3deb153a16b1cfb (diff) |
ACME-1240 : Implement convolve filter for 3x3 kernels. Implements sharpen, blur and edge detection as examples and tests.
Diffstat (limited to 'indra/llimage/llimagefilter.h')
-rwxr-xr-x | indra/llimage/llimagefilter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llimage/llimagefilter.h b/indra/llimage/llimagefilter.h index 19ac7e81d6..738c693686 100755 --- a/indra/llimage/llimagefilter.h +++ b/indra/llimage/llimagefilter.h @@ -91,6 +91,7 @@ private: void colorCorrect(const U8* lut_red, const U8* lut_green, const U8* lut_blue); void filterScreen(EScreenMode mode, const S32 wave_length, const F32 angle); void blendStencil(F32 alpha, U8* pixel, U8 red, U8 green, U8 blue); + void convolve(const LLMatrix3 &kernel, bool normalize, bool abs_value); // Procedural Stencils void setStencil(EStencilBlendMode mode, EStencilShape type, F32 gamma, F32 min, F32 max); |