code: def test_center_decenter():
      from mahotas import wavelet_decenter
      from mahotas import wavelet_center
  
      np.random.seed(12)
      for border in (0, 1, 17):
          f = np.random.rand(51, 100)
          fc = wavelet_center(f, border=border)
          assert all(map(_is_power2, fc.shape))
  
          fd = wavelet_decenter(fc, f.shape, border=border)
  
          assert fd.shape == f.shape
          assert np.all(fd == f)
  
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 18 for calling a global function with example usage: test_center_decenter() without return types