Czenakowski distance

From testwiki
Revision as of 01:41, 2 May 2024 by imported>Pancho507 (de orphaned)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Czenakowski distance (sometimes shortened as CZD) is a per-pixel quality metric that estimates quality or similarity by measuring differences between pixels. Because it compares vectors with strictly non-negative elements, it is often used to compare colored images, as color values cannot be negative. This different approach has a better correlation with subjective quality assessment than PSNR.Template:Cn

Definition

Androutsos et al. give the Czenakowski coefficient as follows:[1]

dz(i,j)=12k=1pmin(xik, xjk)k=1p(xik+xjk)

Where a pixel xi is being compared to a pixel xj on the k-th band of color – usually one for each of red, green and blue.

For a pixel matrix of size M×N, the Czenakowski coefficient can be used in an arithmetic mean spanning all pixels to calculate the Czenakowski distance as follows:[2][3]

1MNi=0M1j=0N1(12k=13min(Ak(i,j), Bk(i,j))k=13(Ak(i,j)+Bk(i,j)))

Where Ak(i,j) is the (i, j)-th pixel of the k-th band of a color image and, similarly, Bk(i,j) is the pixel that it is being compared to.

Uses

In the context of image forensics – for example, detecting if an image has been manipulated –, Rocha et al. report the Czenakowski distance is a popular choice for Color Filter Array (CFA) identification.[2]

References

Template:Reflist Template:Compu-graphics-stub

  1. Cite error: Invalid <ref> tag; no text was provided for refs named ieee1998
  2. 2.0 2.1 Cite error: Invalid <ref> tag; no text was provided for refs named machinery2011
  3. Cite error: Invalid <ref> tag; no text was provided for refs named advances2007