SDXFrameWork  0.07
SDXFrameWork
 全て クラス ネームスペース 関数 変数 列挙型 列挙型の値 ページ
Filter.h
1 #pragma once//☀SDL
2 #include<Multimedia/SDX.h>
3 #include<Multimedia/Image.h>
4 #include<Framework/ImagePack.h>
5 
6 namespace SDX
7 {
11 class Filter
12 {
13 public:
20  static bool Mono( Image* 処理イメージ , int 青色差 , int 赤色差)
21  {
22  return false;
23  }
24  static bool Mono( ImagePack *処理イメージ郡 , int 青色差 , int 赤色差)
25  {
26  return false;
27  }
28 
39  static bool Gauss( Image* 処理イメージ , int 使用ピクセル幅 , double ぼかし強さ)
40  {
41  return false;
42  }
43  static bool Gauss( ImagePack *処理イメージ郡 , int 使用ピクセル幅 , double ぼかし強さ)
44  {
45  return false;
46  }
47 
53  static bool DownScale( Image* 処理イメージ , int 分母)
54  {
55  return false;
56  }
57  static bool DownScale( ImagePack *処理イメージ郡 , int 分母)
58  {
59  return false;
60  }
61 
67  static bool BrightClip( Image* 処理イメージ , ClipType cmpType,int cmpParam , int clipFillColor , int clipFillAlpha)
68  {
69  return false;
70  }
71  static bool BrightClip( ImagePack *処理イメージ郡 , ClipType cmpType,int cmpParam , int clipFillColor , int clipFillAlpha)
72  {
73  return false;
74  }
75 
81  static bool Hsb( Image* 処理イメージ , int 色相 , double 彩度 , double 明度)
82  {
83  return false;
84  }
85  static bool Hsb( ImagePack *処理イメージ郡 , int 色相 , double 彩度 , double 明度)
86  {
87  return false;
88  }
89 
95  static bool MonoHsb( Image* 処理イメージ , int 色相 , double 彩度 , double 明度)
96  {
97  return false;
98  }
99  static bool MonoHsb( ImagePack *処理イメージ郡 , int 色相 , double 彩度 , double 明度)
100  {
101  return false;
102  }
103 
106  bool Invert( Image* 処理イメージ )
107  {
108  return false;
109  }
110  bool Invert( ImagePack *処理イメージ郡 )
111  {
112  return false;
113  }
114 
122  bool Level( Image* 処理イメージ , int 処理前下限 , int 処理前上限 , int 処理後下限 , int 処理後上限, double ガンマ値 )
123  {
124  return false;
125  }
126 
127  bool Level( ImagePack *処理イメージ郡 , int 処理前下限 , int 処理前上限 , int 処理後下限 , int 処理後上限, double ガンマ値 )
128  {
129  return false;
130  }
131 
134  bool TwoColor( Image* 処理イメージ , int 閾値 , int 暗色 , int 暗色α値 , int 明色 , int 明色α値 )
135  {
136  return false;
137  }
138 
139  bool TwoColor( ImagePack *処理イメージ郡 , int 閾値 , int 暗色 , int 暗色α値 , int 明色 , int 明色α値 )
140  {
141  return false;
142  }
143 
149  bool GradientMap( Image* 処理イメージ , const Image *入力イメージ , bool 反転フラグ)
150  {
151  return false;
152  }
153  bool GradientMap( ImagePack *処理イメージ郡 , const Image *入力イメージ , bool 反転フラグ)
154  {
155  return false;
156  }
157 };
158 
162 {
163 public:
165  static Image Mono(const Image *元イメージ , int 青色差 , int 赤色差)
166  {
167  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
168  return outPut;
169  }
170  static Image Mono(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int 青色差, int 赤色差)
171  {
172  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
173  return outPut;
174  }
175 
177  static Image Gauss(const Image *元イメージ, int 使用ピクセル幅, int ぼかし強さ)
178  {
179  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
180  return outPut;
181  }
182  static Image Gauss(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int 使用ピクセル幅, int ぼかし強さ)
183  {
184  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
185  return outPut;
186  }
187 
189  static Image DownScale(const Image *元イメージ, int num)
190  {
191  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
192  return outPut;
193  }
194  static Image DownScale(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int num)
195  {
196  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
197  return outPut;
198  }
199 
201  static Image BrightClip(const Image *元イメージ, ClipType cmpType, int cmpParam, bool isClipFill, int clipFillColor, int clipFillAlpha)
202  {
203  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
204 
205  return outPut;
206  }
207  static Image BrightClip(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, ClipType cmpType, int cmpParam, bool isClipFill, int clipFillColor, int clipFillAlpha)
208  {
209  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
210 
211  return outPut;
212  }
213 
215  static Image Hsb(const Image *元イメージ, int hue, int saturation, int bright)
216  {
217  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
218 
219  return outPut;
220  }
221  static Image Hsb(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int hue, int saturation, int bright)
222  {
223  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
224 
225  return outPut;
226  }
227 
229  static Image MonoHsb(const Image *元イメージ, int hue, int saturation, int bright)
230  {
231  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
232 
233  return outPut;
234  }
235  static Image MonoHsb(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int hue, int saturation, int bright)
236  {
237  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
238 
239  return outPut;
240  }
241 
244  static Image Invert(const Image *元イメージ)
245  {
246  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
247 
248  return outPut;
249  }
250  static Image Invert(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY)
251  {
252  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
253 
254  return outPut;
255  }
256 
264  static Image Level(const Image *元イメージ, int min, int max, int gammma, int affterMin, int affterMax)
265  {
266  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
267 
268  return outPut;
269  }
270  static Image Level(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int min, int max, int gammma, int affterMin, int affterMax)
271  {
272  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
273 
274  return outPut;
275  }
276 
279  static Image TwoColor(const Image *元イメージ, int threshold, int lowColor, int lowAlpha, int highColor, int highAlpha)
280  {
281  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
282 
283  return outPut;
284  }
285  static Image TwoColor(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, int threshold, int lowColor, int lowAlpha, int highColor, int highAlpha)
286  {
287  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
288 
289  return outPut;
290  }
291 
297  static Image GradientMap(const Image *元イメージ, const Image *mapGraph, bool isReverse)
298  {
299  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
300 
301  return outPut;
302  }
303  static Image GradientMap(const Image *元イメージ, int srcX1, int srcY1, int srcX2, int srcY2, int destX, int destY, const Image *mapGraph, bool isReverse)
304  {
305  Image outPut(元イメージ->GetWidth(), 元イメージ->GetHeight(), true, true, true);
306 
307  return outPut;
308  }
309 };
310 
311 }
static bool Mono(Image *処理イメージ, int 青色差, int 赤色差)
モノトーンフィルタ.
Definition: Filter.h:20
static Image DownScale(const Image *元イメージ, int num)
縮小フィルタ.
Definition: Filter.h:189
static Image Gauss(const Image *元イメージ, int 使用ピクセル幅, int ぼかし強さ)
ガウスフィルタ.
Definition: Filter.h:177
static bool BrightClip(Image *処理イメージ, ClipType cmpType, int cmpParam, int clipFillColor, int clipFillAlpha)
明るさクリップフィルタ.
Definition: Filter.h:67
Imageにフィルター処理を行う関数群[DXLIB].
Definition: Filter.h:11
static bool Hsb(Image *処理イメージ, int 色相, double 彩度, double 明度)
色相・彩度・明度フィルタ.
Definition: Filter.h:81
ClipType
説明.
Definition: Image.h:29
static Image MonoHsb(const Image *元イメージ, int hue, int saturation, int bright)
色相・彩度・明度フィルタ.
Definition: Filter.h:229
static Image BrightClip(const Image *元イメージ, ClipType cmpType, int cmpParam, bool isClipFill, int clipFillColor, int clipFillAlpha)
明るさクリップフィルタ.
Definition: Filter.h:201
static bool DownScale(Image *処理イメージ, int 分母)
縮小フィルタ.
Definition: Filter.h:53
bool Level(Image *処理イメージ, int 処理前下限, int 処理前上限, int 処理後下限, int 処理後上限, double ガンマ値)
レベル補正フィルタ.
Definition: Filter.h:122
static Image Mono(const Image *元イメージ, int 青色差, int 赤色差)
モノトーンフィルタ.
Definition: Filter.h:165
static bool MonoHsb(Image *処理イメージ, int 色相, double 彩度, double 明度)
色相・彩度・明度フィルタ.
Definition: Filter.h:95
画像データを表すクラス.
Definition: Image.h:37
bool Invert(Image *処理イメージ)
階調反転フィルタ.
Definition: Filter.h:106
static Image GradientMap(const Image *元イメージ, const Image *mapGraph, bool isReverse)
グラデーションマップフィルタ.
Definition: Filter.h:297
フィルター処理したイメージを生成.
Definition: Filter.h:161
int GetHeight() const
高さを取得.
Definition: Image.h:283
int GetWidth() const
幅を取得.
Definition: Image.h:277
static Image Invert(const Image *元イメージ)
階調反転フィルタ.
Definition: Filter.h:244
static Image TwoColor(const Image *元イメージ, int threshold, int lowColor, int lowAlpha, int highColor, int highAlpha)
2階調フィルタ.
Definition: Filter.h:279
複数のImageをまとめるクラス.
Definition: ImagePack.h:9
bool GradientMap(Image *処理イメージ, const Image *入力イメージ, bool 反転フラグ)
グラデーションマップフィルタ.
Definition: Filter.h:149
bool TwoColor(Image *処理イメージ, int 閾値, int 暗色, int 暗色α値, int 明色, int 明色α値)
2階調フィルタ.
Definition: Filter.h:134
static Image Hsb(const Image *元イメージ, int hue, int saturation, int bright)
色相・彩度・明度フィルタ.
Definition: Filter.h:215
static bool Gauss(Image *処理イメージ, int 使用ピクセル幅, double ぼかし強さ)
ガウスフィルタ.
Definition: Filter.h:39
static Image Level(const Image *元イメージ, int min, int max, int gammma, int affterMin, int affterMax)
レベル補正フィルタ.
Definition: Filter.h:264