gd.addStringField("Line color for the extended grid lines (extra grid)",scolor_extra,8,"Any invalid hex number disables drawing lines");
gd.addTab("General","Output format and other parameters");
gd.addStringField("Channel directory prefix",this.channel_dir_prefix,15,"Prefix to a directory name to save channel annotated files");
gd.addMessage("Stations to include");
for(inti=0;i<numStations;i++){
gd.addCheckbox("Use station "+i,((this.station_sel>>i)&1)!=0,"Include Station "+i+" in generated files.");
}
gd.addCheckbox("Include station number in result file names",this.station_in_filenames,"Use station number as a part of the result file names.");
gd.addCheckbox("Save as PNG instead of JPEG",save_png);
gd.addCheckbox("Save as PNG instead of JPEG",save_png);
gd.addNumericField("JPEG quality",this.JPEG_quality,0,3,"","Jpeg quality, 0 - use Tiff");
gd.addNumericField("JPEG quality",this.JPEG_quality,0,3,"","JPEG quality, 0 - use Tiff");
gd.addStringField("Channel directory prefix",this.channel_dir_prefix,15,"prefix to a directory name to save channel annotated files");
gd.addNumericField("Threshold contrast",this.threshold_contrast,3,6,"","Consider grid nodes with higher contrast to determine bad grids.");
gd.addNumericField("Minimal number of high-contrast nodes",this.threshold_number,0,3,"","Consider a failed grid if the number of strong nodes is below this.");