Skip to content

Commit

Permalink
**
Browse files Browse the repository at this point in the history
  • Loading branch information
friskluft committed Dec 27, 2024
1 parent 1eab813 commit 58f36da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/nyx/features/glszm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,9 +263,6 @@ void GLSZMFeature::calculate(LR& r)

{ //STOPWATCH("sz01/sz01/T/#raw", "\t=");

// zero (backround) intensity at given grey binning method
PixIntens zeroI = matlab_grey_binning(greyInfo) ? 1 : 0;

// Number of zones
const int VISITED = -1;
for (int row = 0; row < M.height; row++)
Expand All @@ -274,7 +271,7 @@ void GLSZMFeature::calculate(LR& r)
{
// Find a non-blank pixel
auto pi = D.yx(row, col);
if (pi == zeroI || int(pi) == VISITED)
if (pi == 0 || int(pi) == VISITED)
continue;

// Found a gray pixel. Find same-intensity neighbourhood of it.
Expand Down

0 comments on commit 58f36da

Please sign in to comment.