Class PreprocessingFilter
名称: Aspose.OCR.Models.PreprocessingFilters 組み合わせ: Aspose.OCR.dll (25.4.0)
画像処理コマンドのベースクラス
public class PreprocessingFilter : IEnumerable
Inheritance
Implements
相続人
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PreprocessingFilter()
public PreprocessingFilter()
Properties
Default
デフォルトフィルターコレクションにはAutoSkewフィルターが含まれています。
public static PreprocessingFilter Default { get; }
不動産価値
Empty
空きフィルターコレクション
public static PreprocessingFilter Empty { get; }
不動産価値
Methods
Add(PreprocessingFilter)
新しいフィルターをコレクションに追加して、すべての操作をさらに実行します。コレクションにおける一貫性
public void Add(PreprocessingFilter filter)
Parameters
filter
PreprocessingFilter
フィルターリストに追加する新しい操作
AutoDenoising()
画像を改善するための追加の神経ネットワークの使用を可能にします - 騒音を減らす。スキャンアーティファクト、歪み、点、フラッシュ、グラディエント、外部要素を含む画像に役立ちます。
public static PreprocessingFilter AutoDenoising()
Returns
AutoDenoisingFilter オブジェクト
AutoDenoising(Rectangle)
画像部分を改善するための追加の神経ネットワークの使用を可能にします - 騒音を減らす。スキャンアーティファクト、歪み、点、フラッシュ、グラディエント、外部要素を含む画像に役立ちます。
public static PreprocessingFilter AutoDenoising(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
AutoDenoisingFilter オブジェクト
AutoDewarping()
自動的に画像の地質的歪みを修正します。非常に強力なリソース!
public static PreprocessingFilter AutoDewarping()
Returns
AutoDewarpingFilter オブジェクト
AutoSkew()
自動画像スキー修正を可能にします。
public static PreprocessingFilter AutoSkew()
Returns
AutoSkewFilter オブジェクト
AutoSkew(Rectangle)
自動画像部分スキー修正を可能にします。
public static PreprocessingFilter AutoSkew(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
AutoSkewFilter オブジェクト
Binarize()
画像を黒と白の画像に変換します。バイナリー画像は、ピクセルが2つの可能な強度値しか持っていない画像です。通常は黒と白として表示されます. 数値では、2つの値はしばしば黒のための0、白のための255です。バイナリー画像は、自動的に画像を制限することによって生成されます。
public static PreprocessingFilter Binarize()
Returns
Binarizeフィルターオブジェクト
Binarize(Rectangle)
画像の一部を黒と白の画像に変換します。バイナリー画像は、ピクセルが2つの可能な強度値しか持っていない画像です。通常は黒と白として表示されます. 数値では、2つの値はしばしば黒のための0、白のための255です。バイナリー画像は、自動的に画像を制限することによって生成されます。
public static PreprocessingFilter Binarize(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
Binarizeフィルターオブジェクト
ContrastCorrectionFilter()
対照修正フィルター
public static PreprocessingFilter ContrastCorrectionFilter()
Returns
対照フィルター オブジェクト
ContrastCorrectionFilter(Rectangle)
画像の一部の対照修正フィルター。
public static PreprocessingFilter ContrastCorrectionFilter(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
対照フィルター オブジェクト
Dilate()
拡張は画像のオブジェクトの境界にピクセルを追加します。
public static PreprocessingFilter Dilate()
Returns
DilateFilter オブジェクト
Dilate(Rectangle)
拡張は画像の一部のオブジェクトの境界にピクセルを追加します。
public static PreprocessingFilter Dilate(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
DilateFilter オブジェクト
GetEnumerator()
IEnumarable インターフェイスの実現
public IEnumerator GetEnumerator()
Returns
ナンバー
Invert()
ドキュメント画像に自動的に色を変換します。
public static PreprocessingFilter Invert()
Returns
InvertFilter オブジェクト
Invert(Rectangle)
画像の一部の色を自動的に逆転します。
public static PreprocessingFilter Invert(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
InvertFilter オブジェクト
Median()
メディアフィルターは画像の各要素を通過し、それぞれのピクセルを隣接するピクセルのメディアに置き換えます。
public static PreprocessingFilter Median()
Returns
メディアフィルターオブジェクト
Median(Rectangle)
メディアフィルターは、画像部分の各要素を通過し、それぞれのピクセルを隣接するピクセルのメディアに置き換えます。
public static PreprocessingFilter Median(Rectangle area)
Parameters
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
メディアフィルターオブジェクト
Resize(int、int、Interpolationフィルタータイプ)
Rescale image - アップスケールまたはダウンスケール画像解像度。
public static PreprocessingFilter Resize(int width, int height, InterpolationFilterType type)
Parameters
width
int
新しい画像の幅。
height
int
新しい画像の高さ。
フィルター フィルター フィルター フィルター フィルター
Returns
フィルター オブジェクト
Resize(int、 int)
Rescale image - アップスケールまたはダウンスケール画像解像度。インターポレーションフィルタータイプ = Lanczos8
public static PreprocessingFilter Resize(int width, int height)
Parameters
width
int
新しい画像の幅。
height
int
新しい画像の高さ。
Returns
フィルター オブジェクト
Rotate(フラット)
オリジナルの画像を回す。
public static PreprocessingFilter Rotate(float angle)
Parameters
angle
float
回転の角度。
Returns
ロタフィルターオブジェクト
Rotate(フロア、レクトアンゲル)
画像の一部を回す。
public static PreprocessingFilter Rotate(float angle, Rectangle area)
Parameters
angle
float
回転の角度。
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
ロタフィルターオブジェクト
Scale(フラット)
Rescale image - アップスケールまたはダウンスケール画像解像度。インターポレーションフィルタータイプ = Lanczos8
public static PreprocessingFilter Scale(float ratio)
Parameters
ratio
float
スケール要因です。
Returns
ScaleFilter オブジェクト
Scale(フロア、インターポレーションフィルタータイプ)
Rescale image - アップスケールまたはダウンスケール画像解像度。
public static PreprocessingFilter Scale(float ratio, InterpolationFilterType type)
Parameters
ratio
float
スケール要因です。
フィルター フィルター フィルター フィルター フィルター
Returns
ScaleFilter オブジェクト
Threshold(インタ)
オリジナルの画像のピクセル強度に限界値を設定するベースのバイナリーイメージを作成します。
public static PreprocessingFilter Threshold(int value)
Parameters
value
int
マックスの価値
Returns
Binarizeフィルターオブジェクト
Threshold(レクトアングル)
オリジナルの画像部分のピクセル強度に限界値の設定に基づいて画像のバイナリー部分を作成します。
public static PreprocessingFilter Threshold(int value, Rectangle area)
Parameters
value
int
マックスの価値
area
Rectangle
画像の一部のコーディネートを修正する。
Returns
Binarizeフィルターオブジェクト
ToGrayscale()
画像をグレイスケール画像に変換します。グレイスケール画像には、画像の256レベルの光(0から255)があります。
public static PreprocessingFilter ToGrayscale()
Returns
GrayscaleFilter オブジェクト