|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRegion
IRegion defines a set of (4-connected) pixels that is used to give a semantic description of an image.
Method Summary | |
---|---|
IRegion |
copy()
Deep copy of region |
int |
getCenter_X()
Returns the center x-coordinate (midpoint) of the recognized region (used for robot navigation) |
int |
getCenter_Y()
Returns the center y-coordinate (midpoint) of the recognized region (used for robot navigation) |
boolean |
getClipped()
Returns information whether region may be clipped (at boundary of image) |
int |
getHeight()
Returns the maximum height of the region |
int |
getHSV()
Returns hsv value in 32-bit hsv format (0xHHHHSSVV) |
int |
getId()
Returns region id (may be used for retrieving additional region information) |
int |
getSize()
Returns the numberf of pixels within the region |
int |
getWidth()
Returns the maximum width of the region |
void |
setCenter_X(int center_x)
sets the center x-coordinate (midpoint) of the recognized region (used for robot navigation) |
void |
setCenter_Y(int center_y)
sets the center y-coordinate (midpoint) of the recognized region (used for robot navigation) |
void |
setClipped(boolean clipped)
Sets clipping information (at boundary of image) |
void |
setHeight(int height)
Sets the maximum height of the region |
void |
setHSV(int hsv)
Sets the region hsv value |
void |
setId(int id)
Sets the region id (may be used for retrieving additional region information) |
void |
setSize(int size)
Sets the size (number of pixels) of the region |
void |
setWidth(int width)
Sets the maximum width of the region |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getId()
void setId(int id)
id
- region identifierint getHSV()
void setHSV(int hsv)
hsv
- average hsv value encoded in 32-bit format (0xHHHHSSVV)int getCenter_X()
int getCenter_Y()
void setCenter_X(int center_x)
center_x
- center of regionvoid setCenter_Y(int center_y)
center_y
- center of regionint getWidth()
void setWidth(int width)
width
- width of regionint getHeight()
void setHeight(int height)
height
- height of regionint getSize()
void setSize(int size)
size
- number of pixelsboolean getClipped()
void setClipped(boolean clipped)
clipped
- whether region is clippedIRegion copy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |