JuliaArrays / JuliaArrays/MappedArrays.jl
[Feature Request] Lazy mapslices
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 88
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
I have a use-case where I want to map adjust_histogram to each layer of a multi-layer image. I can use eg mapslices(ch -> adjust_histogram(ch, correction), channels, dims=[2,3]), but this is greedy. Would be nice to have a MappedArrays equivalent so I don't have to materialize the whole thing.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Read the existing MappedArrays API and Julia's mapslices behavior first. Determine the intended lazy equivalent for mapping adjust_histogram over image layers without materializing the result. Done means a supported lazy mapslices-style operation that covers the stated multi-layer use case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100