示例#1
0
  /** For testing */
  public static void main(String[] args) {

    OtfProvider otf = OtfProvider.fromEstimate(1.4, 515, 0.35);
    SimParam param = SimParam.create(3, 3, 5, 512, 0.086, otf);
    SimParam param2 = SimParam.create(3, 5, 5, 1024, 0.086, otf);

    WienerFilter wf = new WienerFilter(param);

    Tool.trace("Setup w/o attenuation");
    wf.updateCache();

    Tool.trace("Setup with attenuation");
    otf.setAttenuation(.99, 1.5);
    otf.switchAttenuation(true);
    wf.updateCache();

    WienerFilter wf2 = new WienerFilter(param2);
    Tool.trace("Setup big Zeiss (3x5x5 @ 1024x1024)");
    wf2.updateCache();

    Tool.shutdown();
  }