class_docstr: dataset Augmentation for SiamRPN tracking.
  
  Parameters
  ----------
  shift : int
      length of template augmentation shift
  scale : float
      template augmentation scale ratio
  blur : float
      template augmentation blur ratio
  flip : float
      template augmentation flip ratio
  color : float
      template augmentation color ratio
class_docstr_tok: ["dataset","Augmentation","for","SiamRPN","tracking",".","Parameters","--","--","--","--","--","shift",":","int","length","of","template","augmentation","shift","scale",":","float","template","augmentation","scale","ratio","blur",":","float","template","augmentation","blur","ratio","flip",":","float","template","augmentation","flip","ratio","color",":","float","template","augmentation","color","ratio"]
docstr: blur filter to smooth image
  
  Parameters
  ----------
  image : np.array
      image
  
  Return:
      image after blur
docstr_tok: ["blur","filter","to","smooth","image","Parameters","--","--","--","--","--","image",":","np.array","image","Return",":","image","after","blur"]
code: def _blur_aug(self, image):
      """blur filter to smooth image
  
      Parameters
      ----------
      image : np.array
          image
  
      Return:
          image after blur
      """
  
      def rand_kernel():
          sizes = np.arange(5, 46, 2)
          size = np.random.choice(sizes)
          kernel = np.zeros((size, size))
          c = int(size / 2)
          wx = np.random.random()
          kernel[:, c] += 1.0 / size * wx
          kernel[c, :] += 1.0 / size * (1 - wx)
          return kernel
  
      kernel = rand_kernel()
      image = self.cv2.filter2D(image, -1, kernel)
      return image
  
file_path: gluon-cv/gluoncv/data/transforms/track.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import numpy
  from gluoncv.utils.filesystem import try_import_cv2
  from gluoncv.model_zoo.siamrpn.siamrpn_tracker import corner2center, center2corner
  from gluoncv.model_zoo.siamrpn.siamrpn_tracker import Center, Corner
label_desc: Use image node_id 4 for calling the SiamRPNaugmentation obj's underlying member method code with example usage: obj._blur_aug(image) and returns: image, kernel