We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
max_val, max_idx = af.imax(img)
running this function seems to have wrong behavior and finds wrong max value for an image with pixels in range [0,1].
When running max_val, max_idx = af.imax(af.flat(img)) the correct max value is found.
max_val, max_idx = af.imax(af.flat(img))
max_val, max_idx = af.imax(img)running this function seems to have wrong behavior and finds wrong max value for an image with pixels in range [0,1].
When running
max_val, max_idx = af.imax(af.flat(img))the correct max value is found.