return warpPositions;
}
public ParameterValueGroup getWarpGridParameters() {
ParameterValueGroup WarpGridParameters = new ParameterGroup(
new WarpGridTransform2D.Provider().getParameters());
/**
* TODO - throw exception when the values are not integers
*/
WarpGridParameters.parameter("xStart").setValue(new Double(this.xStart).intValue());
WarpGridParameters.parameter("yStart").setValue(new Double(this.yStart).intValue());
WarpGridParameters.parameter("xStep").setValue(new Double(this.xStep).intValue());
WarpGridParameters.parameter("yStep").setValue(new Double(this.yStep).intValue());
WarpGridParameters.parameter("xNumCells").setValue(new Double(xNumber).intValue());
WarpGridParameters.parameter("yNumCells").setValue(new Double(yNumber).intValue());
WarpGridParameters.parameter("warpPositions").setValue(warpPositions);
return WarpGridParameters;
}