code: def _is_inside_ellipse(x, y, ex, ey, orientation, width, height):
      co = np.cos(orientation)
      so = np.sin(orientation)
  
      xx = x * co + y * so
      yy = y * co - x * so
  
      return (xx / width) ** 2 + (yy / height) ** 2 <= 1.0
  
imports: from __future__ import division
  from math import exp
  import warnings
  import matplotlib.pyplot
  from mpl_toolkits.mplot3d import axes3d
  import numpy
  from numpy.linalg import inv
  import scipy
  from scipy.spatial.distance import mahalanobis
  from filterpy.stats import norm_cdf, multivariate_gaussian, logpdf, mahalanobis
  from scipy import linalg
label_desc: Use image node_id 4 for calling a global function with example usage: _is_inside_ellipse(x, y, ex, ey, orientation, width, height) and returns: unknown