Skip to content

corner.jl: ERROR: MethodError: no method matching dotc(::RGBA{Float64}, ::RGBA{Float64}) #65

@dbrowne

Description

@dbrowne

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions