Documentation of 'org.encog.util.downsample.SimpleIntensityDownsample' Java class
SimpleIntensityDownsample
org.encog.util.downsample

Class SimpleIntensityDownsample

  • All Implemented Interfaces:
    Downsample


    public class SimpleIntensityDownsample
    extends RGBDownsample
    Downsample an image using a simple intensity scale. Color information is discarded.
    • Constructor Detail

      • SimpleIntensityDownsample

        public SimpleIntensityDownsample()
    • 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:
        downSample in interface Downsample
        Overrides:
        downSample in class RGBDownsample
        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

You see the box below because you did not login.