public ConvolveAscii() {
    super();
    name = "ConvolveAscii";
    description =
        "Applies a convolution of an image using a mask defined in a text file. Applies to COLOR, BYTE, SHORT or FLOAT type.";
    groupFunc = FunctionGroup.Convolution;

    ParamFile p1 = new ParamFile("matrix", true, true);
    p1.setDescription("Matrix for convolution (.txt extension)");

    ParamFloat p2 = new ParamFloat("mult", false, true);
    p2.setDefault(1.0f);
    p2.setDescription("Multiplier");

    ParamFloat p3 = new ParamFloat("div", false, true);
    p3.setDefault(1.0f);
    p3.setDescription("Divisor");

    ParamList p4 = new ParamList("method", false, true);
    String[] paux = new String[3];
    paux[0] = "ZERO";
    paux[1] = "WRAP";
    paux[2] = "PAD";
    p4.setDefault(paux);
    p4.setDescription("Method to process the border");

    addParam(p1);
    addParam(p2);
    addParam(p3);
    addParam(p4);
  }