org.encog.util.downsample
Class SimpleIntensityDownsample
- java.lang.Object
-
- org.encog.util.downsample.RGBDownsample
-
- org.encog.util.downsample.SimpleIntensityDownsample
-
- All Implemented Interfaces:
- Downsample
public class SimpleIntensityDownsample extends RGBDownsample
Downsample an image using a simple intensity scale. Color information is discarded.
-
-
Constructor Summary
Constructors Constructor and Description SimpleIntensityDownsample()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double[]downSample(java.awt.Image image, int height, int width)Called to downsample the image and store it in the down sample component.-
Methods inherited from class org.encog.util.downsample.RGBDownsample
downSampleRegion, findBounds, getCurrentBlue, getCurrentGreen, getCurrentRed, getDownSampleBottom, getDownSampleLeft, getDownSampleRight, getDownSampleTop, getImageHeight, getImageWidth, getPixelMap, getRatioX, getRatioY, processImage, setCurrentBlue, setCurrentGreen, setCurrentRed, setPixelMap, validate
-
-
-
-
Method Detail
-
downSample
public double[] downSample(java.awt.Image image, int height, int width)Called to downsample the image and store it in the down sample component.- Specified by:
downSamplein interfaceDownsample- Overrides:
downSamplein classRGBDownsample- Parameters:
image- The image to downsample.height- The height to downsample to.width- THe width to downsample to.- Returns:
- The downsampled image.
-
-
DMelt 3.0 © DataMelt by jWork.ORG