arrayfire / arrayfire/arrayfire-python

arrayfire imax function

Ouverte
#260 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
422
Forks
63
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

`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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
data
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.