code: def test___init___custom_settings(self):
      aug = iaa.Canny(
          alpha=0.2,
          hysteresis_thresholds=([0, 1, 2], iap.DiscreteUniform(1, 10)),
          sobel_kernel_size=[3, 5],
          colorizer=iaa.RandomColorsBinaryImageColorizer(
              color_true=10, color_false=20
          ),
      )
      assert is_parameter_instance(aug.alpha, iap.Deterministic)
      assert isinstance(aug.hysteresis_thresholds, tuple)
      assert is_parameter_instance(aug.sobel_kernel_size, iap.Choice)
      assert isinstance(
          aug.colorizer, iaa.RandomColorsBinaryImageColorizer
      )
      assert np.isclose(aug.alpha.value, 0.2)
      assert len(aug.hysteresis_thresholds) == 2
      assert is_parameter_instance(
          aug.hysteresis_thresholds[0], iap.Choice
      )
      assert aug.hysteresis_thresholds[0].a == [0, 1, 2]
      assert is_parameter_instance(
          aug.hysteresis_thresholds[1], iap.DiscreteUniform
      )
      assert np.isclose(aug.hysteresis_thresholds[1].a.value, 1)
      assert np.isclose(aug.hysteresis_thresholds[1].b.value, 10)
      assert is_parameter_instance(aug.sobel_kernel_size, iap.Choice)
      assert aug.sobel_kernel_size.a == [3, 5]
      assert is_parameter_instance(
          aug.colorizer.color_true, iap.Deterministic
      )
      assert is_parameter_instance(
          aug.colorizer.color_false, iap.Deterministic
      )
      assert aug.colorizer.color_true.value == 10
      assert aug.colorizer.color_false.value == 20
  
imports: from __future__ import print_function, division, absolute_import
  import itertools
  import sys
  import numpy
  import cv2
  from imgaug import augmenters
  from imgaug import parameters
  from imgaug import random
  from imgaug.testutils import reseed, runtest_pickleable_uint8_img, is_parameter_instance, remove_prefetching
label_desc: Use image node_id 2 for calling the TestCanny obj's underlying member method code with example usage: obj.test___init___custom_settings() without return types