Package 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
-
-
Field Summary
-
Fields inherited from class yarp.PortReader
swigCMemOwn
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
copy(Image alt)
boolean
copy(Image alt, int w, int h)
void
delete()
protected void
finalize()
protected static long
getCPtr(Image obj)
SWIGTYPE_p_void
getIplImage()
int
getPadding()
SWIGTYPE_p_unsigned_char
getPixelAddress(int x, int y)
int
getPixelCode()
int
getPixelSize()
int
getQuantum()
SWIGTYPE_p_unsigned_char
getRawImage()
int
getRawImageSize()
SWIGTYPE_p_unsigned_char
getRow(int r)
SWIGTYPE_p_p_char
getRowArray()
int
getRowSize()
int
height()
boolean
isPixel(int x, int y)
boolean
read(ConnectionReader connection)
void
resize(int imgWidth, int imgHeight)
void
resize(Image alt)
void
setExternal(SWIGTYPE_p_void data, int imgWidth, int imgHeight)
void
setQuantum(int imgQuantum)
void
setTopIsLowIndex(boolean flag)
boolean
topIsLowIndex()
int
width()
void
wrapIplImage(SWIGTYPE_p_void iplImage)
boolean
write(ConnectionWriter connection)
void
zero()
-
Methods inherited from class yarp.Portable
copyPortable, getCPtr, getType
-
Methods inherited from class yarp.PortReader
getCPtr, getReadType, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
Image
protected Image(long cPtr, boolean cMemoryOwn)
-
Image
public Image()
-
Image
public Image(Image alt)
-
-
Method Detail
-
getCPtr
protected static long getCPtr(Image obj)
-
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)
-
write
public boolean write(ConnectionWriter connection)
-
setQuantum
public void setQuantum(int imgQuantum)
-
topIsLowIndex
public boolean topIsLowIndex()
-
setTopIsLowIndex
public void setTopIsLowIndex(boolean flag)
-
getRowArray
public SWIGTYPE_p_p_char getRowArray()
-
-