Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@
* %%
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
*
* 1. Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
Expand All @@ -43,7 +43,7 @@

/**
* n-dimensional double-based Lanczos Interpolation
*
*
* @author Stephan Preibisch
* @author Stephan Saalfeld
*/
Expand Down Expand Up @@ -75,7 +75,7 @@ final static private long[] createOffset( final int a, final int n )

/**
* Creates a new Lanczos-interpolation
*
*
* @param randomAccessible
* - the {@link RandomAccessible} to work on
* @param alpha
Expand Down Expand Up @@ -141,7 +141,7 @@ public LanczosInterpolator( final LanczosInterpolator< T > interpolator )

final static private double[] createLanczosLUT( final int max, final int scale )
{
final double[] lut = new double[ max * scale + 2 ];
final double[] lut = new double[ max * scale + 22 ];
for ( int i = 0; i < lut.length; ++i )
{
final double x = ( double ) i / ( double ) lutScale;
Expand Down