arrayfire / arrayfire/arrayfire-python

arrayfire imax function

未关闭
#260 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
422
派生
63
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
data
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。