@ALDAOperator(genericExecutionMode=ALL) public class GetMTBContour2DSetFromXSVFiles extends MTBOperator
MTBContour2DSet from a list of ASCII xSV files.
The files are expected to all share the same format and contain a single point in each row, first the x-coordinate and then the y-coordinate. Both coordinates should be separated by the delimiter character, e.g., ',' or ' '.
Header lines in each file maybe skipped using the skipLines
argument. If it is zero no line is skipped.
| Modifier and Type | Field and Description |
|---|---|
private String |
delim
Delimiter in xSV files.
|
private de.unihalle.informatik.Alida.datatypes.ALDDirectoryString |
inputDir
Input directory from where to read the xSV files.
|
private MTBContour2DSet |
resultSet
Resulting contour set.
|
private int |
skipLines
Skip header lines.
|
| Constructor and Description |
|---|
GetMTBContour2DSetFromXSVFiles()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
operate() |
readResolveaddOperatorExecutionProgressEventListener, addParameter, addParameter, addParameterUnconditioned, fieldContained, fireOperatorExecutionProgressEvent, getALDPortHashAccessKey, getConstructionMode, getDocumentation, getHidingMode, getInactiveParameterNames, getInInoutNames, getInInoutNames, getInNames, getInOutNames, getMissingRequiredInputs, getName, getNumParameters, getOutInoutNames, getOutNames, getParameter, getParameterDescriptor, getParameterDescriptorUnconditioned, getParameterNames, getParameterUnconditioned, getSupplementalNames, getVerbose, getVersion, handleOperatorExecutionProgressEvent, hasInOutParameters, hasParameter, isAnnotatedParameter, isConfigured, print, print, print, printInterface, printInterface, readHistory, reinitializeParameterDescriptors, removeOperatorExecutionProgressEventListener, removeParameter, runOp, runOp, runOp, setConstructionMode, setConstructionMode, setConstructionMode, setHidingMode, setName, setParameter, setParameterUnconditioned, setVerbose, toStringVerbose, unconfiguredItems, validate, validateCustom, validateGeneric, writeHistory, writeHistory, writeHistory@Parameter(label="inputDir",
required=true,
direction=IN,
dataIOOrder=0,
mode=STANDARD,
description="Directory with input files.")
private de.unihalle.informatik.Alida.datatypes.ALDDirectoryString inputDir
We assume that there are no other files in the directory than xSV files containing contours.
@Parameter(label="delim",
required=true,
direction=IN,
dataIOOrder=1,
mode=STANDARD,
description="Delimiter in xSV format.")
private String delim
@Parameter(label="skipLines",
required=true,
direction=IN,
dataIOOrder=2,
mode=STANDARD,
description="Number of header lines to skip.")
private int skipLines
Number of header lines to be skipped, if zero, nothing is skipped.
@Parameter(label="resultSet",
direction=OUT,
dataIOOrder=0,
mode=STANDARD,
description="Result contour set.")
private MTBContour2DSet resultSet
Copyright © 2010–2020 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.