JuliaImages / JuliaImages/ImageCore.jl
introduce `StructArrays`
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 28
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
We only have native support for an array of struct layout, the struct of array layout uses channelview/colorview but it losses the colorant information.
We might want to introduce StructArray to do some internal memory layout shifting without affecting the interface; it's still array of colorant but storing in a struct of array layout.
img = testimage("mandril")
out = StructArray(img)
out == img # true
Of course, need some more sophiscate benchmark to decide this.
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
Start by examining the existing channelview/colorview approach and how it loses colorant information. Use testimage("mandril") to compare StructArray(img) with the original image, then establish more sophisticated benchmarks to determine whether the proposed layout shift is worthwhile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100