public class ImageMLData extends BasicMLData
| Constructor and Description |
|---|
ImageMLData(java.awt.Image theImage)
Construct an object based on an image.
|
| Modifier and Type | Method and Description |
|---|---|
void |
downsample(Downsample downsampler,
boolean findBounds,
int height,
int width,
double hi,
double lo)
Downsample, and copy, the image contents into the data of this object.
|
java.awt.Image |
getImage() |
void |
setImage(java.awt.Image theImage) |
public ImageMLData(java.awt.Image theImage)
theImage - The image to use.public final void downsample(Downsample downsampler, boolean findBounds, int height, int width, double hi, double lo)
downsampler - The downsampler object to use.findBounds - Should the bounds be located and cropped.height - The height to downsample to.width - The width to downsample to.hi - The high value to normalize to.lo - The low value to normalize to.public final java.awt.Image getImage()
public final void setImage(java.awt.Image theImage)
theImage - the image to set