Matrix.ContinuationMode.getConstantMode(outsideValue(actualFrames)));
}
if (p instanceof UniversalFramePosition
&& ((UniversalFramePosition)p).inverseTransform() instanceof LinearOperator)
{
LinearOperator inverseTransform = (LinearOperator)((UniversalFramePosition)p).inverseTransform();
// System.out.println("1 frame branch: linear operator " + inverseTransform);
LinearOperator shift = LinearOperator.getShiftInstance(area.min().coordinates());
LinearOperator lo = shift.superposition(inverseTransform);
Func f = Matrices.asInterpolationFunc(m, Matrices.InterpolationMethod.POLYLINEAR_FUNCTION,
outsideValue(actualFrames));
f = lo.apply(f);
return Matrices.asCoordFuncMatrix(f, requiredType, dimensions);
}
}
if (integerShiftPositions && stitchingMethod instanceof CoordinateFreeStitchingMethod<?>) {
// System.out.println("coordinate free branch: combining submatrices");