machinevisiontoolbox.Image.npq
- Image.npq(p, q)
Normalized central image moments
- Parameters:
p (int) – u exponent
q (int) – v exponent
- Returns:
moment
- Type:
scalar
Computes the pq’th normalized central moment of the image:
where
and .Example:
>>> from machinevisiontoolbox import Image >>> img = Image.Read('shark1.png') >>> img.npq(2, 2) 1.1596991128539824e-07