|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Downsample
Utility to downsample an image.
Method Summary | |
---|---|
double[] |
downSample(Image image,
int height,
int width)
Downsample the image to the specified height and width. |
void |
findBounds()
Find the bounds around the image to exclude whitespace. |
int |
getDownSampleBottom()
|
int |
getDownSampleLeft()
|
int |
getDownSampleRight()
|
int |
getDownSampleTop()
|
int |
getImageHeight()
|
int |
getImageWidth()
|
int[] |
getPixelMap()
|
double |
getRatioX()
|
double |
getRatioY()
|
void |
processImage(Image image)
Process the specified image. |
Method Detail |
---|
double[] downSample(Image image, int height, int width)
image
- The image to downsample.height
- The height to downsample to.width
- The width to downsample to.
void findBounds()
int getDownSampleBottom()
int getDownSampleLeft()
int getDownSampleRight()
int getDownSampleTop()
int getImageHeight()
int getImageWidth()
int[] getPixelMap()
double getRatioX()
double getRatioY()
void processImage(Image image)
image
- The image to process.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |