|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ImageSlicer
slices image into pieces. utilises iterator pattern, concrete implementations are provided for horizontal and vertical slicing
| Method Summary | |
|---|---|
boolean |
hasNext()
whether next slice is available |
Image |
next()
retrieve next slice and advance |
ImageSlicer |
slice(int fromY)
start horizontal slicing iteration from certain position empty row means new image |
ImageSlicer |
slice(int fromY,
int tolerance)
start horizontal slicing with defined tolerance |
| Method Detail |
|---|
ImageSlicer slice(int fromY)
fromY - starting Y
ImageSlicer slice(int fromY,
int tolerance)
fromY - starting positiontolerance - amount of empty rows allowed inside consecutive imageboolean hasNext()
Image next()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||