예제 #1
0
  /** {@inheritDoc} */
  protected void storeParamsFromGUI() throws ParserException {
    scriptParameters.storeInputImage(image);
    scriptParameters.storeOutputImageParams(getResultImage(), (displayLoc == NEW));

    scriptParameters.getParams().put(ParameterFactory.newParameter("sub_x_dim", subXDim));
    scriptParameters.getParams().put(ParameterFactory.newParameter("sub_y_dim", subYDim));
    scriptParameters
        .getParams()
        .put(ParameterFactory.newParameter("number_of_images_in_mosaic", numberOfImagesInMosaic));
  }
  /** {@inheritDoc} */
  protected void storeParamsFromGUI() throws ParserException {
    scriptParameters.storeInputImage(image);
    scriptParameters.storeOutputImageParams(getResultImage(), (displayLoc == NEW));

    scriptParameters
        .getParams()
        .put(ParameterFactory.newParameter("search_window_side", searchWindowSide));
    scriptParameters
        .getParams()
        .put(ParameterFactory.newParameter("similarity_window_side", similarityWindowSide));
    scriptParameters
        .getParams()
        .put(ParameterFactory.newParameter("noise_standard_deviation", noiseStandardDeviation));
    scriptParameters
        .getParams()
        .put(ParameterFactory.newParameter("degree_of_filtering", degreeOfFiltering));
    scriptParameters.getParams().put(ParameterFactory.newParameter("do_rician", doRician));
    scriptParameters.storeProcess3DAs25D(image25D);
  }
 /** {@inheritDoc} */
 protected void storeParamsFromGUI() throws ParserException {
   scriptParameters.storeInputImage(image);
   scriptParameters.getParams().put(ParameterFactory.newParameter("blue_min", blueMin));
   scriptParameters.getParams().put(ParameterFactory.newParameter("red_min", redMin));
   scriptParameters.getParams().put(ParameterFactory.newParameter("red_fraction", redFraction));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("merging_distance", mergingDistance));
   scriptParameters.getParams().put(ParameterFactory.newParameter("green_min", greenMin));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("green_fraction", greenFraction));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("green_region_number", greenRegionNumber));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("two_green_levels", twoGreenLevels));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("blue_boundary_fraction", blueBoundaryFraction));
   scriptParameters.getParams().put(ParameterFactory.newParameter("blue_smooth", blueSmooth));
   scriptParameters
       .getParams()
       .put(ParameterFactory.newParameter("interpolation_divisor", interpolationDivisor));
 }