コード例 #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));
  }