|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRegionCollector
IRegionCollector defines classes capable of copllecting (new) regions a semantic description of an image.
Method Summary | |
---|---|
void |
addRegion(int id,
int hsv,
int center_x,
int center_y,
int height,
int width,
int size,
boolean clipped)
Adds a new region to a collection |
IRegion |
getRegion(int index)
Returns the index-th region |
int |
size()
Returns current size of list |
Method Detail |
---|
void addRegion(int id, int hsv, int center_x, int center_y, int height, int width, int size, boolean clipped)
id
- identification number of the regionhsv
- average color in 32 bit hsv formatcenter_x
- central x coordinate (with respect to full image)center_y
- central y coordinate (with respect to full image)height
- height of the regionwidth
- width of the regionsize
- number of pixels within regionclipped
- region is at boundary (clipped)int size()
IRegion getRegion(int index)
index
- index which region to return
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |