/** {@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);
  }