JuliaImages / JuliaImages/ImageFeatures.jl
corner.jl: ERROR: MethodError: no method matching dotc(::RGBA{Float64}, ::RGBA{Float64})
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 49
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Description
where is dotc defined?: It is not the LinearAlgebra BLAS.dotc
Thought using ColorVectorSpace.dotc might be a solution but to no avail.
function gradcovs(img::AbstractArray, border::AbstractString = "replicate"; weights::Function = meancovs, args...)
(grad_x, grad_y) = imgradients(img, KernelFactors.sobel, border)
cov_xx = dotc(grad_x, grad_x)
cov_xy = dotc.(grad_x, grad_y)
cov_yy = dotc.(grad_y, grad_y)
weights(cov_xx, cov_xy, cov_yy, args...)
end
Any Suggestions?
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 reproducing the MethodError in gradcovs with an RGBA{Float64} image, then trace which dotc definition is resolved for the calls shown in the issue. Confirm the intended dotc behavior for grad_x and grad_y and add or update coverage demonstrating that gradcovs handles RGBA inputs without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100