We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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))