yarp
Class Image
java.lang.Object
yarp.PortReader
yarp.Portable
yarp.Image
- Direct Known Subclasses:
- FlexImage, ImageFloat, ImageInt, ImageMono, ImageMono16, ImageRgb, ImageRgba, ImageRgbFloat
public class Image
- extends Portable
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Image
public Image(long cPtr,
boolean cMemoryOwn)
Image
public Image()
Image
public Image(Image alt)
getCPtr
public static long getCPtr(Image obj)
finalize
protected void finalize()
- Overrides:
finalize
in class Portable
delete
public void delete()
- Overrides:
delete
in class Portable
copy
public boolean copy(Image alt)
copy
public boolean copy(Image alt,
int w,
int h)
width
public int width()
height
public int height()
getPixelSize
public int getPixelSize()
getPixelCode
public int getPixelCode()
getRowSize
public int getRowSize()
getQuantum
public int getQuantum()
getPadding
public int getPadding()
getRow
public SWIGTYPE_p_unsigned_char getRow(int r)
getPixelAddress
public SWIGTYPE_p_unsigned_char getPixelAddress(int x,
int y)
isPixel
public boolean isPixel(int x,
int y)
zero
public void zero()
resize
public void resize(int imgWidth,
int imgHeight)
resize
public void resize(Image alt)
setExternal
public void setExternal(SWIGTYPE_p_void data,
int imgWidth,
int imgHeight)
getRawImage
public SWIGTYPE_p_unsigned_char getRawImage()
getRawImageSize
public int getRawImageSize()
getIplImage
public SWIGTYPE_p_void getIplImage()
wrapIplImage
public void wrapIplImage(SWIGTYPE_p_void iplImage)
read
public boolean read(ConnectionReader connection)
- Overrides:
read
in class Portable
write
public boolean write(ConnectionWriter connection)
- Overrides:
write
in class Portable
setQuantum
public void setQuantum(int imgQuantum)
topIsLowIndex
public boolean topIsLowIndex()
setTopIsLowIndex
public void setTopIsLowIndex(boolean flag)
getRowArray
public SWIGTYPE_p_p_char getRowArray()