公用介面 ImageOperator
已知間接子類別 |
操作 TensorImage 物件。用於 ImageProcessor。
公用方法
抽象 TensorImage |
apply(TensorImage 圖片)
|
抽象 int |
getOutputImageHeight(int inputImageHeight, int inputImageWidth)
指定輸入圖片大小時,計算預期輸出圖片的高度。
|
抽象 int |
getOutputImageWidth(int inputImageHeight, int inputImageWidth)
指定輸入映像檔大小時,計算預期輸出圖片的寬度。
|
抽象 PointF |
inverseTransform(PointF 點、int inputImageHeight、int inputImageWidth)
將結果圖片的座標系統,轉換為其中一張輸入圖片。
|
繼承的方法
公用方法
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)
將結果圖片的座標系統,轉換為其中一張輸入圖片。
參數
分 | 擷取自結果座標系統的點。 |
---|---|
inputImageHeight | 都與輸入圖片的高度有關 |
inputImageWidth | 都與輸入圖片的寬度相等 |
傳回
- 帶有輸入圖片座標系統座標的點。