JuliaImages / JuliaImages/ImageFiltering.jl

mapwindow failure cases

Open
#169 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
104
Forks
52
PR merge metrics
No merged PRs in 30d

Description

Some problems I came across while testing for JuliaImages/ImageFiltering.jl#160:

  • border "reflect" seems to fail for non-symmetric windows
mapwindow(minimum, 1:8, -2:0; border="reflect") # DimensionMismatch
  • borders NA() and NoPad() don't work
mapwindow(minimum, 1:8, 3; border=NA()) # MethodError
mapwindow(minimum, 1:8, 3; border=NoPad()) # MethodError
  • fails when given indices entirely inside the border:
mapwindow(minimum, 1:8, -2:0; indices=1:2) # AssertionError on master, DimensionMismatch with JuliaImages/ImageFiltering.jl#160

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the three mapwindow examples in the issue and tracing the mapwindow implementation. Done means non-symmetric reflect borders, NA()/NoPad() borders, and indices entirely inside the border are handled without DimensionMismatch, MethodError, or AssertionError.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
computer-vision
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.