class_docstr: Template class
class_docstr_tok: ["Template","class"]
code: def __call__(self, H):
      total_loss = np.sum(H * self.loss(H))
      if not self.renormalize:
          total_loss /= nonzero(self.npoints(H))
      return -total_loss
  
imports: import numpy
  from scipy.ndimage import gaussian_filter
  from ._registration import _L1_moments
label_desc: Use image node_id 4 for calling the SimilarityMeasure obj's underlying member method code with example usage: obj.__call__(H) and returns: unknown