code: def true_negative_rate(result, reference):
      """
      True negative rate.
      Same as :func:`specificity`, see there for a detailed description.
  
      See also
      --------
      :func:`true_positive_rate`
      :func:`positive_predictive_value`
      """
      return specificity(result, reference)
  
imports: import numpy
  from scipy.ndimage import _ni_support
  from scipy.ndimage import distance_transform_edt, binary_erosion, generate_binary_structure
  from scipy.ndimage import label, find_objects
  from scipy.stats import pearsonr
label_desc: Use image node_id 7 for calling a global function with example usage: true_negative_rate(result, reference) and returns: specificity