Percentage difference between images: Difference between revisions
Percentage difference between images (view source)
Revision as of 00:43, 20 April 2024
, 1 month ago"Ada" section: Correct reference to "Left.G" to "Right.G".
Thundergnat (talk | contribs) m (syntax highlighting fixup automation) |
Flexibeast (talk | contribs) ("Ada" section: Correct reference to "Left.G" to "Right.G".) |
||
(One intermediate revision by one other user not shown) | |||
Line 33:
<syntaxhighlight lang="ada">function "-" (Left, Right : Pixel) return Count is
begin
return (Left.R - Right.R) + (Left.G -
end "-";</syntaxhighlight>
Mean of 1-norm distances. Constraint_Error is propagated when images have different size.
Line 1,735:
{{trans|Kotlin}}
{{libheader|DOME}}
<syntaxhighlight lang="
import "dome" for Window
|