I get an error at the line where \'-225\' is being compared with \'Gmat[i,j]\' when I try to run the following non-maximum suppression function:
I use np.all and np.a