code: def test_keypoints_censure_moon_image_octagon():
      """Verify the actual Censure keypoints and their corresponding scale with
      the expected values for Octagon filter."""
  
      detector = CENSURE(mode="octagon")
      # quarter scale image for speed
      detector.detect(
          rescale(img, 0.25, anti_aliasing=False, mode="constant")
      )
      expected_keypoints = np.array(
          [[23, 27], [29, 89], [31, 87], [106, 59], [111, 67]]
      )
  
      expected_scales = np.array([3, 2, 5, 2, 4])
  
      assert_array_equal(expected_keypoints, detector.keypoints)
      assert_array_equal(expected_scales, detector.scales)
  
file_path: scikit-image/skimage/feature/tests/test_censure.py
imports: import numpy
  from skimage._shared.testing import assert_array_equal
  from skimage.data import moon
  from skimage.feature import CENSURE
  from skimage._shared.testing import run_in_parallel
  from skimage._shared import testing
  from skimage.transform import rescale
label_desc: Use image node_id 6 for calling a global function with example usage: test_keypoints_censure_moon_image_octagon() without return types