Package de.mpi.rgblab.tests

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

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 TestVisibilityData {

  /**
   * @param args
   */
  public static void main(String[] args) {
    // TODO Auto-generated method stub
    Data d = new Data();
    //Data0 d0 = new Data0();

    d.importData("usa_houshold_and_income_screen_coordinates.dat");
    //d0.importData("usa_houshold_and_income_screen_coordinates.dat");

    Vector<ColorModel> rgbColors = ColorReader
        .getColorsAsColorModel("colors.dat");
    //d.computeSaliencyTest(20, rgbColors);
    d.computeSaliency(20, rgbColors);
    d.computeVisibility(20);
    d.export();
  }

}
TOP

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

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.