arrayfire / arrayfire/arrayfire-python

arrayfire imax function

Aberta
#260 2 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Python
Estrelas
422
Forks
63
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
python
Domínio
data
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.