JuliaImages / JuliaImages/ImageCore.jl
port graytype from Images.jl to ImageCore.jl
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 28
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
I know that Gray(rand(RGB{N0f8})) converts an RGB pixel to Gray pixel while preserving the storage type. Can we support similar operations for Colorant such as Gray(RGB{N0f8}) == Gray{N0f8}?
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 Images.jl's src/algorithms.jl at the linked lines to understand the existing graytype behavior, then inspect ImageCore's Colorant definitions and conversion entry points. The work is done when Colorant operations such as Gray(RGB{N0f8}) produce Gray{N0f8} while preserving the storage type, matching the issue's example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- computer-vision
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100