Package org.encog.util

Examples of org.encog.util.ImageSize


   *
   * @param image
   *            The image to downsample.
   */
  public void processImage(final Image image) {
    final ImageSize size = new ImageSize(image);
    this.imageHeight = size.getHeight();
    this.imageWidth = size.getWidth();
    this.downSampleLeft = 0;
    this.downSampleTop = 0;
    this.downSampleRight = this.imageWidth;
    this.downSampleBottom = this.imageHeight;

View Full Code Here


   *
   * @param image
   *            The image to downsample.
   */
  public void processImage(final Image image) {
    final ImageSize size = new ImageSize(image);
    this.imageHeight = size.getHeight();
    this.imageWidth = size.getWidth();
    this.downSampleLeft = 0;
    this.downSampleTop = 0;
    this.downSampleRight = this.imageWidth;
    this.downSampleBottom = this.imageHeight;

View Full Code Here

TOP

Related Classes of org.encog.util.ImageSize

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.