public class Picture extends Object
| 构造器和说明 |
|---|
Picture() |
| 限定符和类型 | 方法和说明 |
|---|---|
Matrix |
getImageMatrixByIo(InputStream inputStream) |
Matrix |
getImageMatrixByLocal(String fileURL) |
int |
getPictureHeight() |
int |
getPictureWidth() |
ThreeChannelMatrix |
getThreeMatrix(File file) |
ThreeChannelMatrix |
getThreeMatrix(InputStream file) |
ThreeChannelMatrix |
getThreeMatrix(String fileURL) |
void |
setPictureHeight(int pictureHeight) |
void |
setPictureWidth(int pictureWidth) |
public Matrix getImageMatrixByLocal(String fileURL) throws Exception
Exceptionpublic ThreeChannelMatrix getThreeMatrix(File file) throws Exception
Exceptionpublic ThreeChannelMatrix getThreeMatrix(InputStream file) throws Exception
Exceptionpublic ThreeChannelMatrix getThreeMatrix(String fileURL) throws Exception
Exceptionpublic Matrix getImageMatrixByIo(InputStream inputStream) throws Exception
Exceptionpublic int getPictureWidth()
public void setPictureWidth(int pictureWidth)
public int getPictureHeight()
public void setPictureHeight(int pictureHeight)
Copyright © 2024. All rights reserved.