org.cogchar.sight.api.obs
Class PortableImage
java.lang.Object
org.cogchar.sight.api.obs.PortableImage
- All Implemented Interfaces:
- Serializable
public class PortableImage
- extends Object
- implements Serializable
- Author:
- Stu B.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortableImage
public PortableImage()
PortableImage
public PortableImage(Image awtImage,
boolean flipVertical)
PortableImage
public PortableImage(BufferedImage img,
Rectangle bbox,
boolean flipVertical)
fetchOpenCVImage
public OpenCVImage fetchOpenCVImage()
getBytesWithoutHeader
public byte[] getBytesWithoutHeader()
setBytesWithoutHeader
public void setBytesWithoutHeader(byte[] b)
printDiag
public void printDiag(int step)
getWidth
public int getWidth()
getHeight
public int getHeight()
setWidth
public void setWidth(int w)
setHeight
public void setHeight(int h)
fetchJavaImage
public Image fetchJavaImage()
fetchJavaImage
public Image fetchJavaImage(Component comp)
Copyright © 2010-2014. All Rights Reserved.