code: def transform(self, X, y=None):
          
          #if X.pixeltype != 'float':
          #    raise ValueError('image.pixeltype must be float ... use TypeCast transform or clone to float')
          insuffix = X._libsuffix
          cast_fn = utils.get_lib_fn('locallyBlurAntsImage%s' % (insuffix))
          casted_ptr = cast_fn(X.pointer, self.iters, self.conductance)
          return iio.ANTsImage(pixeltype=X.pixeltype, dimension=X.dimension,
                               components=X.components, pointer=casted_ptr)
docs: Locally blur an image by applying a gradient anisotropic diffusion filter.
  
          Arguments
          ---------
          X : ANTsImage
              image to transform
  
          y : ANTsImage (optional)
              another image to transform.
  
          Example
          -------
          >>> import ants
          >>> blur = ants.contrib.LocallyBlurIntensity(1,5)
          >>> img2d = ants.image_read(ants.get_data('r16'))
          >>> img2d_b = blur.transform(img2d)
          >>> ants.plot(img2d)
          >>> ants.plot(img2d_b)
          >>> img3d = ants.image_read(ants.get_data('mni'))
          >>> img3d_b = blur.transform(img3d)
          >>> ants.plot(img3d)
          >>> ants.plot(img3d_b)