code: def test_denoise_bilateral_pad():
      """This test checks if the bilateral filter is returning an image
      correctly padded."""
      img = img_as_float(data.chelsea())[100:200, 100:200]
      img_bil = restoration.denoise_bilateral(
          img, sigma_color=0.1, sigma_spatial=10, channel_axis=-1
      )
      condition_padding = np.count_nonzero(
          np.isclose(img_bil, 0, atol=0.001)
      )
      assert_array_equal(condition_padding, 0)
  
imports: import functools
  import itertools
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_equal, assert_warns
  from skimage import color, data, img_as_float, restoration
  from skimage._shared._warnings import expected_warnings
  from skimage._shared.utils import _supported_float_type, slice_at_axis
  from skimage.metrics import peak_signal_noise_ratio, structural_similarity
  from skimage.restoration._denoise import _wavelet_threshold
label_desc: Use image node_id 17 for calling a global function with example usage: test_denoise_bilateral_pad() without return types