So I'm looking up code in regards to 2D Haar Wavelet Transformation. And there's this if statement that I am confused about.
So part of the code looks like this:
unsigned char indexMask[4]; // the '4' here supposed to be a variable but I'm going to keep it simple here
for (int k = 0; k < 4; k++) {
indexMask[k] = 0;
}
for (int j = 1; j <= 5; j+=2) {
if (indexMask[j/2]) {
//some codes here
}
}
My confusion is, what does the if statement here checks? This is my first time seeing a if statement structured this way so I sort of confused. Thanks alot