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

Interface Downsample

    • Method Detail

      • downSample

        double[] downSample(java.awt.Image image,
                            int height,
                            int width)
        Downsample the image to the specified height and width.
        Parameters:
        image - The image to downsample.
        height - The height to downsample to.
        width - The width to downsample to.
        Returns:
        The downsampled image.
      • findBounds

        void findBounds()
        Find the bounds around the image to exclude whitespace.
      • getDownSampleBottom

        int getDownSampleBottom()
        Returns:
        Get the bottom boundary of the image.
      • getDownSampleLeft

        int getDownSampleLeft()
        Returns:
        The left boundary of the image.
      • getDownSampleRight

        int getDownSampleRight()
        Returns:
        Get the right boundary of the image.
      • getDownSampleTop

        int getDownSampleTop()
        Returns:
        Get the top boundary of the image.
      • getImageHeight

        int getImageHeight()
        Returns:
        The height of the image.
      • getImageWidth

        int getImageWidth()
        Returns:
        The width of the image.
      • getPixelMap

        int[] getPixelMap()
        Returns:
        The image pixel map.
      • getRatioX

        double getRatioX()
        Returns:
        The x-ratio of the downsample.
      • getRatioY

        double getRatioY()
        Returns:
        The y-ratio of the downsample.
      • processImage

        void processImage(java.awt.Image image)
        Process the specified image.
        Parameters:
        image - The image to process.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.