Skip to content
Merged
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
6 changes: 3 additions & 3 deletions mpicbg/src/main/java/mpicbg/ij/clahe/FastFlat.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ static public void run(
}


final static private int[] createHistogram(
static private int[] createHistogram(
final int blockRadius,
final int bins,
final int blockXCenter,
Expand Down Expand Up @@ -239,7 +239,7 @@ final protected void run(
}

final int yMin = ( r == 0 ? 0 : rs[ r0 ] );
final int yMax = ( r < rs.length ? rs[ r1 ] : ip.getHeight() - 1 );
final int yMax = ( r < rs.length ? rs[ r1 ] : ip.getHeight() );

for ( int c = 0; c <= cs.length; ++c )
{
Expand All @@ -264,7 +264,7 @@ final protected void run(
}

final int xMin = ( c == 0 ? 0 : cs[ c0 ] );
final int xMax = ( c < cs.length ? cs[ c1 ] : ip.getWidth() - 1 );
final int xMax = ( c < cs.length ? cs[ c1 ] : ip.getWidth() );

for ( int y = yMin; y < yMax; ++y )
{
Expand Down