Package de.mpi.rgblab.tests

Source Code of de.mpi.rgblab.tests.TestData0

package de.mpi.rgblab.tests;

import java.util.Vector;

import de.mpi.rgblab.color.ColorModel;
import de.mpi.rgblab.data.ColorReader;
import de.mpi.rgblab.data.Data;

public class TestData0 {

    public static void main(String[] args) {
      // TODO Auto-generated method stub
      System.out.println("start");
      long currentTimeInSeconds = System.currentTimeMillis() ;

     
      Data d1 = new Data();
      d1.importData("usa_houshold_and_income_screen_coordinates.dat");
      Vector<ColorModel> rgbColors = ColorReader.getColorsAsColorModel("colors.dat");
      d1.computeSaliency(30, rgbColors);
     
      currentTimeInSeconds = System.currentTimeMillis()
      - currentTimeInSeconds;
  System.out.println("time: " + currentTimeInSeconds
      + " milliseconds");
     
     
    }
}
TOP

Related Classes of de.mpi.rgblab.tests.TestData0

TOP
Copyright © 2018 www.massapi.com. 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.