@Override public LocalCursor cursor() { return new LocalCursor( sourceRandomAccess.copyRandomAccess() ); }
@Override public LocalCursor cursor() { return new LocalCursor( sourceRandomAccess.copyRandomAccess() ); }
private BoundaryRandomAccess8( final BoundaryRandomAccess8< T > ba ) { super( ba.source.copyRandomAccess() ); this.n = ba.n; this.min = ba.min; this.max = ba.max; this.offsets = ba.offsets; this.resets = ba.resets; this.type = ba.type.copy(); }
@Override public AbstractCursor< T > copyCursor() { return new StructuringElementCursor< T >( m_access.copyRandomAccess(), m_struc ); } }
@Override public ConvertedRandomAccess< A, B > copy() { return new ConvertedRandomAccess< A, B >( source.copyRandomAccess(), converter, converted ); } }
protected TransformRandomAccess( final TransformRandomAccess< T > randomAccess ) { super( randomAccess.numDimensions() ); this.source = randomAccess.source.copyRandomAccess(); this.transformToSource = randomAccess.transformToSource; this.tmp = new long[ randomAccess.tmp.length ]; }
@Override public RealComposite< T > copy() { return new RealComposite< T >( sourceAccess.copyRandomAccess(), length ); } }
@Override public ConvertedRandomAccess< A, B > copy() { return new ConvertedRandomAccess< A, B >( source.copyRandomAccess(), converter, converted ); } }
protected NearestNeighborInterpolator( final NearestNeighborInterpolator< T > nearestNeighborInterpolator ) { super( nearestNeighborInterpolator.target.copyRandomAccess() ); setPosition( nearestNeighborInterpolator ); }
protected RandomAccessibleIntervalCursor( final RandomAccessibleIntervalCursor< T > cursor ) { super( cursor ); this.randomAccess = cursor.randomAccess.copyRandomAccess(); dimensions = cursor.dimensions.clone(); tmp = new long[ n ]; index = cursor.index; maxIndex = cursor.maxIndex; maxIndexOnLine = cursor.maxIndexOnLine; }
@Override public LocalCursor cursor() { return new LocalCursor( sourceRandomAccess.copyRandomAccess() ); }
@Override public ScaledRandomAccess< T > copy() { return new ScaledRandomAccess<>( source.copyRandomAccess(), scalingFunction ); }
PairOfPointsNeighborhood( final long[] position, final long[] offset, final RandomAccess< T > sourceRandomAccess ) { super( position ); ra = sourceRandomAccess.copyRandomAccess(); this.offset = offset; this.ndims = sourceRandomAccess.numDimensions(); }
@Override public LocalCursor cursor() { return new LocalCursor( sourceRandomAccess.copyRandomAccess() ); }
@Override public LocalCursor cursor() { return new LocalCursor( sourceRandomAccess.copyRandomAccess() ); }
protected TranslationRandomAccess( final TranslationRandomAccess< T > randomAccess ) { super( randomAccess.numDimensions() ); s = randomAccess.s.copyRandomAccess(); translation = randomAccess.translation.clone(); tmp = new long[ n ]; }
protected LocalNeighborhoodCursor2( final LocalNeighborhoodCursor2< T > c ) { super( c.numDimensions() ); this.source = c.source.copyRandomAccess(); this.center = c.center; max = c.max.clone(); min = c.min.clone(); span = c.span; maxCount = c.maxCount; midCount = c.midCount; }
protected FullSourceMapSlicingRandomAccess( final FullSourceMapSlicingRandomAccess< T > randomAccess ) { super( randomAccess.numDimensions() ); s = randomAccess.s.copyRandomAccess(); m = randomAccess.m; sourceComponent = randomAccess.sourceComponent.clone(); tmpPosition = randomAccess.tmpPosition.clone(); tmpDistance = randomAccess.tmpDistance.clone(); }
protected MixedRandomAccess( final MixedRandomAccess< T > randomAccess ) { super( randomAccess.numDimensions() ); this.s = randomAccess.s.copyRandomAccess(); this.m = randomAccess.m; this.translation = randomAccess.translation.clone(); this.sourceZero = randomAccess.sourceZero.clone(); this.sourceInv = randomAccess.sourceInv.clone(); this.sourceComponent = randomAccess.sourceComponent.clone(); tmpPosition = translation.clone(); tmpDistance = new long[ m ]; }
protected MixedRandomAccess( final MixedRandomAccess< T > randomAccess ) { super( randomAccess.numDimensions() ); this.s = randomAccess.s.copyRandomAccess(); this.m = randomAccess.m; this.translation = randomAccess.translation.clone(); this.sourceZero = randomAccess.sourceZero.clone(); this.sourceInv = randomAccess.sourceInv.clone(); this.sourceComponent = randomAccess.sourceComponent.clone(); tmpPosition = translation.clone(); tmpDistance = new long[ m ]; }