use of net.imglib2.view.StackView.StackAccessMode in project imagej-ops by imagej.
the class ConcatenateViewTest method concatenateWithAccessModeTest.
@Test
public void concatenateWithAccessModeTest() {
final List<RandomAccessibleInterval<ByteType>> intervals = createIntervals(img, divider, axis);
for (final StackAccessMode mode : StackAccessMode.values()) {
final RandomAccessibleInterval<ByteType> cat1 = Views.concatenate(axis, mode, intervals);
final RandomAccessibleInterval<ByteType> cat2 = ops.transform().concatenateView(intervals, axis, mode);
testEqual(cat1, cat2);
}
}
Aggregations