org.cogchar.sight.api.obs
Class PortableImage
java.lang.Object
org.cogchar.sight.api.obs.PortableImage
- All Implemented Interfaces:
- java.io.Serializable
public class PortableImage
- extends java.lang.Object
- implements java.io.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(java.awt.Image awtImage,
boolean flipVertical)
PortableImage
public PortableImage(java.awt.image.BufferedImage img,
java.awt.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 java.awt.Image fetchJavaImage()
fetchJavaImage
public java.awt.Image fetchJavaImage(java.awt.Component comp)
Copyright © 2010-2014. All Rights Reserved.