JuliaImages / JuliaImages/ImageCore.jl
add format specifier to color view
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 28
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
with most of the julia machine learning ecosystem working with image tensors in WHC or WHCN format, maybe it could be convenient to add a string argument to colorview to specify the input tensor format:
x = rand(32, 32, 3, 1000) # batch of images in WHCN format
imgs = colorview(RGB, permutedims(x, (3, 2, 1, 4))) # current
imgs = colorview(RGB, x, "WHCN") # proposed
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 at the colorview entry point and trace how it currently handles image tensor dimensions. Check whether the proposed format string can support the WHCN example without manual permutedims; done means the example produces the intended batch of RGB images with the specified layout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100