Percentage difference between images: Difference between revisions
Percentage difference between images (view source)
Revision as of 00:43, 20 April 2024
, 29 days ago"Ada" section: Correct reference to "Left.G" to "Right.G".
m (→{{header|Wren}}: Changed to Wren S/H) |
Flexibeast (talk | contribs) ("Ada" section: Correct reference to "Left.G" to "Right.G".) |
||
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.
|