code: def test_center_wavelet_iwavelet_decenter():
      from mahotas import wavelet_center, wavelet_decenter
      import mahotas
      import numpy as np
  
      f = luispedro_jpg(1)
      f = f[:100, :250]
      fo = f.copy()
  
      for wav in ("D2", "D4", "D6", "D8", "D10", "D12", "D16"):
          fc = mahotas.wavelet_center(fo, border=24)
          t = mahotas.daubechies(fc, wav)
          r = mahotas.idaubechies(t, wav)
          rd = mahotas.wavelet_decenter(r, fo.shape, border=24)
          assert np.allclose(fo, rd)
  
imports: import numpy
  import mahotas
  import mahotas.convolve
  import mahotas
  from mahotas.convolve import convolve1d, gaussian_filter
  import mahotas._filters
  from mahotas.tests.utils import luispedro_jpg
  import pytest
label_desc: Use image node_id 20 for calling a global function with example usage: test_center_wavelet_iwavelet_decenter() without return types