ImageOperator

公開インターフェース ImageOperator
既知の間接サブクラス

TensorImage オブジェクトを処理します。ImageProcessor で使用されます。

パブリック メソッド

抽象 TensorImage
applyTensorImage の画像)
抽象 整数
getOutputImageHeight(int inputImageHeight, int inputImageWidth)
入力画像サイズが指定されたときに、想定される出力画像の高さを計算します。
抽象 整数
getOutputImageWidth(int inputImageHeight, int inputImageWidth)
入力画像のサイズが指定されたときに、想定される出力画像の幅を計算します。
抽象 PointF
inverseTransform(PointF ポイント、int inputImageHeight、int inputImageWidth)
結果画像の座標系の点を、入力画像の座標系に変換します。

継承されるメソッド

パブリック メソッド

public 抽象 TensorImage apply TensorImage イメージ)

パラメータ
イメージ

public 抽象 int getOutputImageHeight (int inputImageHeight, int inputImageWidth)

入力画像サイズが指定されたときに、想定される出力画像の高さを計算します。

パラメータ
inputImageHeight
inputImageWidth

public 抽象 int getOutputImageWidth (int inputImageHeight, int inputImageWidth)

入力画像のサイズが指定されたときに、想定される出力画像の幅を計算します。

パラメータ
inputImageHeight
inputImageWidth

public 抽象 PointF inverseTransform (PointF point, int inputImageHeight, int inputImageWidth)

結果画像の座標系の点を、入力画像の座標系に変換します。

パラメータ
point 結果の座標系から得た点です。
inputImageHeight 入力画像の高さ。
inputImageWidth 入力画像の幅です。
戻り値
  • 入力画像の座標系の座標を持つ点。