Package de.mpi.rgblab.optimizer

Examples of de.mpi.rgblab.optimizer.Optimizer


  // }

  public void optimize(int distance, int surroundAngle) {
    int radiusView =  VisUtil.getViewRadius(distance);
    int radiusSurround =  VisUtil.getRadius(distance, surroundAngle);
    Optimizer opt = new Optimizer();
    classColors = opt.optimize(data, classColors, radiusSurround, radiusView);
    update(-1);
  }
View Full Code Here


   
   
//    data.computeSaliency(radius, classColors);
//    data.computeVisibility(radius);
//    data.export(args[2]);
    Optimizer opt = new Optimizer(logFile); //, 0.60, 6);
    classColors = opt.optimize(data, classColors, radiusView, radiusSurround);
    LogUtil l = new LogUtil(outputFile, true);
   
    for (int i =0; i< classColors.size(); i++) {
      l.log(Integer.toString(Math.round((float)classColors.get(i).getDimension_1())));
      l.log(",");
View Full Code Here

    }

    // data.computeSaliency(radius, classColors);
    // data.computeVisibility(radius);
    // data.export(args[2]);
    Optimizer opt = new Optimizer(logFile, 8, 6);
    classColors = opt.optimize(data, classColors, radiusView, radiusSurround);
    LogUtil l = new LogUtil(outputFile, true);

    for (int i = 0; i < classColors.size(); i++) {
      l.log(Integer.toString(Math.round((float)classColors.get(i).getDimension_1())));
      l.log(",");
View Full Code Here

TOP

Related Classes of de.mpi.rgblab.optimizer.Optimizer

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.