org.encog.util.downsample
public interface Downsample
Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2014. All Rights Reserved.