arrayfire / arrayfire/arrayfire-python
arrayfire imax function
Offen
- Vorherrschende Sprache
- Python
- Sterne
- 422
- Forks
- 63
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
`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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduce the discrepancy with an image whose pixels are in [0,1], comparing af.imax(img) with af.imax(af.flat(img)). Start at the Python binding entry point for af.imax and inspect how image shape is handled; done means both forms return the same correct maximum value and index.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100