original_docstring: 
          Setting threhold to the image. Turn pixels below threshold black.
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
              t: the threshold
                 type: INT
  
          Return:
              new_image: the transformed image
          
docstring: Setting threhold to the image. Turn pixels below threshold black.
docstring_tokens: Setting threhold to the image . Turn pixels below threshold black .
code: def threshold(image,t):
      '''
          Setting threhold to the image. Turn pixels below threshold black.
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
              t: the threshold
                 type: INT
  
          Return:
              new_image: the transformed image
          '''
      _, new_image = cv2.threshold(image,t,255,cv2.THRESH_BINARY)
      return new_image
code_tokens: def threshold ( image , t ) : _ , new_image = cv2 . threshold ( image , t , 255 , cv2 . THRESH_BINARY ) return new_image
short_docstring: Setting threhold to the image.
short_docstring_tokens: Setting threhold to the image .
comment: '''
          Setting threhold to the image. Turn pixels below threshold black.
  
          Args:
              image: the input grayscale image
                     type: ndarray, shape: (dim1,dim2)
              t: the threshold
                 type: INT
  
          Return:
              new_image: the transformed image
          '''