|
The Encog Project | ||||||||
| 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(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()
|
java.awt.Image |
getImage()
|
int |
getImageHeight()
|
int |
getImageWidth()
|
int[] |
getPixelMap()
|
double |
getRatioX()
|
double |
getRatioY()
|
void |
processImage(java.awt.Image image)
Process the specified image. |
| Method Detail |
|---|
double[] downSample(int height,
int width)
height - The height to downsample to.width - The width to downsample to.
void findBounds()
int getDownSampleBottom()
int getDownSampleLeft()
int getDownSampleRight()
int getDownSampleTop()
java.awt.Image getImage()
int getImageHeight()
int getImageWidth()
int[] getPixelMap()
double getRatioX()
double getRatioY()
void processImage(java.awt.Image image)
image - The image to process.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||