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 TestSaliency {
public static void main(String[] args) {
System.out.println("start program");
long currentTimeInSeconds = System.currentTimeMillis();
Data d1 = new Data();
d1.printResolution();
//d1.importData("usa_houshold_and_income_distribution.dat");
d1.importData("usa_houshold_and_income_screen_coordinates.dat");
Vector<ColorModel> rgbColors = ColorReader
.getColorsAsColorModel("colors.dat");
d1.computeSaliencyTest(30, rgbColors);
currentTimeInSeconds = System.currentTimeMillis()
- currentTimeInSeconds;
System.out.println("time: " + currentTimeInSeconds + " milliseconds");
// try {
// Thread.sleep(1000*1000);
// } catch (InterruptedException e) {
// // the VM doesn't want us to sleep anymore,
// // so get back to work
// }
}
}