|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
public interface IBlurSupport
ぼかしの処理を支援するサービスです。
入れ子のクラスの概要 | |
---|---|
static class |
IBlurSupport.BlurDimensions
ぼかしの方向を表す列挙型定数。 |
メソッドの概要 | |
---|---|
IVideoBuffer |
boxBlur(IVideoBuffer input,
ColorMode colorMode,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean repeatEdgePixels,
boolean fast,
int boxIterations)
|
IVideoBuffer |
boxBlur(IVideoBuffer input,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean repeatEdgePixels,
boolean fast,
int boxIterations)
|
VideoBounds |
calcBoxBlurredBounds(VideoBounds inputBounds,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean fast,
int boxIterations)
|
VideoBounds |
calcGaussianBlurredBounds(VideoBounds inputBounds,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean fast)
inputBounds の領域にガウスぼかしを行った場合、結果の画像の位置とサイズがどうなるかを返します。 |
IVideoBuffer |
gaussianBlur(IVideoBuffer input,
ColorMode colorMode,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean repeatEdgePixels,
boolean fast)
input の画像にガウスぼかしを行い、結果の画像を返します。 |
IVideoBuffer |
gaussianBlur(IVideoBuffer input,
double radius,
IBlurSupport.BlurDimensions dimensions,
boolean repeatEdgePixels,
boolean fast)
input の画像にガウスぼかしを行い、結果の画像を返します。 |
メソッドの詳細 |
---|
VideoBounds calcGaussianBlurredBounds(VideoBounds inputBounds, double radius, IBlurSupport.BlurDimensions dimensions, boolean fast)
inputBounds
の領域にガウスぼかしを行った場合、結果の画像の位置とサイズがどうなるかを返します。
inputBounds
- ガウスぼかしを行う領域radius
- ガウスぼかしの量dimensions
- ガウスぼかしの方向fast
- 高速モードの場合は true
、そうでない場合は false
inputBounds
の領域にガウスぼかしを行った場合の、結果の画像の位置とサイズgaussianBlur(IVideoBuffer, double, BlurDimensions, boolean, boolean)
,
gaussianBlur(IVideoBuffer, ColorMode, double, BlurDimensions, boolean, boolean)
IVideoBuffer gaussianBlur(IVideoBuffer input, double radius, IBlurSupport.BlurDimensions dimensions, boolean repeatEdgePixels, boolean fast)
input
の画像にガウスぼかしを行い、結果の画像を返します。
結果の画像の色深度が input
の色深度と同じになること以外は
gaussianBlur(IVideoBuffer, ColorMode, double, BlurDimensions, boolean, boolean)
と同じです。
input
- ガウスぼかしを行う画像radius
- ガウスぼかしの量dimensions
- ガウスぼかしの方向repeatEdgePixels
- 端のピクセルを繰り返す場合は true
、そうでない場合は false
fast
- 高速モードの場合は true
、そうでない場合は false
input
の画像にガウスぼかしを行った結果の画像IVideoBuffer gaussianBlur(IVideoBuffer input, ColorMode colorMode, double radius, IBlurSupport.BlurDimensions dimensions, boolean repeatEdgePixels, boolean fast)
input
の画像にガウスぼかしを行い、結果の画像を返します。
結果の画像の色深度は colorMode
で指定した色深度となります。
repeatEdgePixels
が true
の場合、結果の画像の位置とサイズは
input
と等しくなります。repeatEdgePixels
が false
の場合、
結果の画像は calcGaussianBlurredBounds
メソッドが返す位置とサイズとなります。
input
- ガウスぼかしを行う画像colorMode
- 結果の画像の色深度radius
- ガウスぼかしの量dimensions
- ガウスぼかしの方向repeatEdgePixels
- 端のピクセルを繰り返す場合は true
、そうでない場合は false
fast
- 高速モードの場合は true
、そうでない場合は false
input
の画像にガウスぼかしを行った結果の画像VideoBounds calcBoxBlurredBounds(VideoBounds inputBounds, double radius, IBlurSupport.BlurDimensions dimensions, boolean fast, int boxIterations)
IVideoBuffer boxBlur(IVideoBuffer input, double radius, IBlurSupport.BlurDimensions dimensions, boolean repeatEdgePixels, boolean fast, int boxIterations)
IVideoBuffer boxBlur(IVideoBuffer input, ColorMode colorMode, double radius, IBlurSupport.BlurDimensions dimensions, boolean repeatEdgePixels, boolean fast, int boxIterations)
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |