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");
}
}