Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageQualityIndexes._average_pooling seems to be broken in v0.2.2 #60

Open
J1MC83N opened this issue Aug 11, 2024 · 0 comments
Open

ImageQualityIndexes._average_pooling seems to be broken in v0.2.2 #60

J1MC83N opened this issue Aug 11, 2024 · 0 comments

Comments

@J1MC83N
Copy link

J1MC83N commented Aug 11, 2024

julia> A = [i+j+0.0 for i in -2:2,j in -2:2]
5×5 Matrix{Float64}:
 -4.0  -3.0  -2.0  -1.0  0.0
 -3.0  -2.0  -1.0   0.0  1.0
 -2.0  -1.0   0.0   1.0  2.0
 -1.0   0.0   1.0   2.0  3.0
  0.0   1.0   2.0   3.0  4.0

julia> ImageQualityIndexes._average_pooling(A)
3×3 Matrix{Float64}:
 -1.0  1.0  1.0
  1.0  3.0  3.0
  1.0  3.0  3.0

From this example it seems to be shifted compared to what I would expect.

@J1MC83N J1MC83N closed this as completed Aug 11, 2024
@J1MC83N J1MC83N changed the title ImageQualityIndexes._average_pooling seems to be broken ImageQualityIndexes._average_pooling seems to be broken in v0.2.2 Aug 11, 2024
@J1MC83N J1MC83N reopened this Aug 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant