code: def test_moments_normalized():
      image = np.zeros((20, 20), dtype=np.float64)
      image[13:17, 13:17] = 1
      mu = moments_central(image, (14.5, 14.5))
      nu = moments_normalized(mu)
      # shift image by dx=-2, dy=-2 and scale non-zero extent by 0.5
      image2 = np.zeros((20, 20), dtype=np.float64)
      # scale amplitude by 0.7
      image2[11:13, 11:13] = 0.7
      mu2 = moments_central(image2, (11.5, 11.5))
      nu2 = moments_normalized(mu2)
      # central moments must be translation and scale invariant
      assert_almost_equal(nu, nu2, decimal=1)
  
imports: import itertools
  import numpy
  import pytest
  from scipy import ndimage
  from skimage import draw
  from skimage._shared import testing
  from skimage._shared.testing import assert_allclose, assert_almost_equal, assert_equal
  from skimage._shared.utils import _supported_float_type
  from skimage.measure import centroid, inertia_tensor, inertia_tensor_eigvals, moments, moments_central, moments_coords, moments_coords_central, moments_hu, moments_normalized
label_desc: Use image node_id 7 for calling a global function with example usage: test_moments_normalized() without return types