SDXFrameWork  0.13
SDXFrameWork
 All Classes Namespaces Functions Variables Enumerations Enumerator Pages
Filter.h
1 //Copyright © 2014 SDXFramework
2 //[License]GNU Affero General Public License, version 3
3 //[Contact]http://sourceforge.jp/projects/dxframework/
4 #pragma once
5 #include<Multimedia/SDX.h>
6 #include<Multimedia/Image.h>
7 
8 namespace SDX
9 {
14  class Filter
15  {
16  private:
17  MONO_STATE(Filter)
18  public:
25  static bool Mono(Image *処理イメージ, int 青色差, int 赤色差)
26  {
27  return false;
28  }
29 
40  static bool Gauss(Image* 処理イメージ, int 使用ピクセル幅, double ぼかし強さ)
41  {
42  return false;
43  }
44 
50  static bool DownScale(Image* 処理イメージ, int 分母)
51  {
52  return false;
53  }
54 
60  static bool BrightClip(Image* 処理イメージ, bool isLess, int cmpParam, int clipFillColor, int clipFillAlpha)
61  {
62  return false;
63  }
64 
70  static bool Hsb(Image* 処理イメージ, int 色相, double 彩度, double 明度)
71  {
72  return false;
73  }
74 
80  static bool MonoHsb(Image* 処理イメージ, int 色相, double 彩度, double 明度)
81  {
82  return false;
83  }
84 
87  static bool Invert(Image* 処理イメージ)
88  {
89  return false;
90  }
91 
99  static bool Level(Image* 処理イメージ, int 処理前下限, int 処理前上限, int 処理後下限, int 処理後上限, double ガンマ値)
100  {
101  return false;
102  }
103 
106  static bool TwoColor(Image* 処理イメージ, int 閾値, int 暗色, int 暗色α値, int 明色, int 明色α値)
107  {
108  return false;
109  }
110 
116  static bool GradientMap(Image* 処理イメージ, const Image *入力イメージ, bool 反転フラグ)
117  {
118  return false;
119  }
120 
121  };
122 }
static bool Mono(Image *処理イメージ, int 青色差, int 赤色差)
モノトーンフィルタ.
Definition: Filter.h:25
Imageにフィルター処理を行う関数群[未実装].
Definition: Filter.h:14
static bool Hsb(Image *処理イメージ, int 色相, double 彩度, double 明度)
色相・彩度・明度フィルタ.
Definition: Filter.h:70
static bool DownScale(Image *処理イメージ, int 分母)
縮小フィルタ.
Definition: Filter.h:50
static bool Level(Image *処理イメージ, int 処理前下限, int 処理前上限, int 処理後下限, int 処理後上限, double ガンマ値)
レベル補正フィルタ.
Definition: Filter.h:99
static bool MonoHsb(Image *処理イメージ, int 色相, double 彩度, double 明度)
色相・彩度・明度フィルタ.
Definition: Filter.h:80
画像データを表すクラス.
Definition: Image.h:17
static bool Invert(Image *処理イメージ)
階調反転フィルタ.
Definition: Filter.h:87
static bool BrightClip(Image *処理イメージ, bool isLess, int cmpParam, int clipFillColor, int clipFillAlpha)
明るさクリップフィルタ.
Definition: Filter.h:60
static bool GradientMap(Image *処理イメージ, const Image *入力イメージ, bool 反転フラグ)
グラデーションマップフィルタ.
Definition: Filter.h:116
static bool TwoColor(Image *処理イメージ, int 閾値, int 暗色, int 暗色α値, int 明色, int 明色α値)
2階調フィルタ.
Definition: Filter.h:106
static bool Gauss(Image *処理イメージ, int 使用ピクセル幅, double ぼかし強さ)
ガウスフィルタ.
Definition: Filter.h:40