Skip to content

Color image support #16

Description

@johnnychen94

Cont. #14

metrics from Distances.jl needed to be tested to support color image inputs.

Unless explicitly stated, the distances are the sum of channelwise distances, and mean/normalized distances are divided by num_pixel*num_channel.

That's to say, ssdn in Images.jl is not defined correctly for Color3 Images

"`s = ssdn(A, B)` computes the sum-of-squared differences over arrays/images A and B, normalized by array size"
ssdn(A::AbstractArray{T}, B::AbstractArray{T}) where {T} = ssd(A, B)/length(A)

cc @timholy

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions