Commit c88b64b6 authored by gonciarz's avatar gonciarz

Curvature filters test fix

parent 62b0c007
......@@ -59,7 +59,8 @@ public class Inpainting extends CurvatureFilterBase {
@Override
protected boolean setup(String aArgs) {
setFilePrefix("inpainting_");
updateFlags(DOES_ALL);
final OpenDialog od = new OpenDialog("(Inpainting) Open mask file", "");
final String directory = od.getDirectory();
final String name = od.getFileName();
......
......@@ -83,7 +83,8 @@ public class SuperResolution extends CurvatureFilterBase {
@Override
protected boolean setup(String aArgs) {
setFilePrefix("resized_");
updateFlags(DOES_ALL);
// Super resolution will generate 2x bigger image than original one.
setScaleX(2.0);
setScaleY(2.0);
......
......@@ -52,6 +52,7 @@ public class VariationalCurvatureFilter extends CurvatureFilterBase {
setResultDestination(ResultOutput.UPDATE_ORIGINAL);
}
setFilePrefix("filtered_");
updateFlags(DOES_ALL);
setSplitMethodMenu(true);
return true;
}
......
......@@ -6,6 +6,8 @@ import java.awt.SystemColor;
import java.awt.TextArea;
import ij.gui.GenericDialog;
import mosaic.filamentSegmentation.GUI.OutputImageWindow;
import mosaic.plugins.utils.PlugInBase.ResultOutput;
import mosaic.variationalCurvatureFilters.CurvatureFilter;
import mosaic.variationalCurvatureFilters.FilterKernel;
import mosaic.variationalCurvatureFilters.FilterKernelBernstein;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment