code: def star(input_region: List[int]) -> Tuple[List[int], List[int]]:
      """Get coordinates of points inside a star.
  
      Args:
          input_region (List[int]): Region in which to draw the star. [x1, y1, x2, y2]
      Example:
      >>> image = np.full((200,200,3),fill_value=255, dtype=np.uint8)
      >>> patch_region = random_square_patch([100, 100, 200, 200])
      >>> xx, yy = star(patch_region)
      >>> patched = image.copy()
      >>> patched[yy, xx, :] = 1
      >>> plt.imshow(patched)
      Returns:
          Tuple[List[int], List[int]]: Array of cols and rows which denote the mask.
      """
      x1_i, y1_i, x2_i, y2_i = input_region
  
      outer_dim = (x2_i - x1_i) // 2
      inner_dim = (x2_i - x1_i) // 4
  
      cx = x1_i + (x2_i - x1_i) // 2
      cy = y1_i + (y2_i - y1_i) // 2
      x1, y1 = cx + int(outer_dim * np.cos(0.314159)), cy + int(
          outer_dim * np.sin(0.314159)
      )
      x2, y2 = cx + int(inner_dim * np.cos(0.942478)), cy + int(
          inner_dim * np.sin(0.942478)
      )
  
      x3, y3 = cx + int(outer_dim * np.cos(1.5708)), cy + int(
          outer_dim * np.sin(1.5708)
      )
      x4, y4 = cx + int(inner_dim * np.cos(2.19911)), cy + int(
          inner_dim * np.sin(2.19911)
      )
  
      x5, y5 = cx + int(outer_dim * np.cos(2.82743)), cy + int(
          outer_dim * np.sin(2.82743)
      )
      x6, y6 = cx + int(inner_dim * np.cos(3.45575)), cy + int(
          inner_dim * np.sin(3.45575)
      )
  
      x7, y7 = cx + int(outer_dim * np.cos(4.08407)), cy + int(
          outer_dim * np.sin(4.08407)
      )
      x8, y8 = cx, cy - inner_dim
  
      x9, y9 = cx + int(outer_dim * np.cos(5.34071)), cy + int(
          outer_dim * np.sin(5.34071)
      )
      x10, y10 = cx + int(inner_dim * np.cos(5.96903)), cy + int(
          inner_dim * np.sin(5.96903)
      )
      print(
          [x1, x2, x3, x4, x5, x6, x7, x8, x9, x10],
          [y1, y2, y3, y4, y5, y6, y7, y8, y9, y10],
      )
  
      return polygon(
          [x1, x2, x3, x4, x5, x6, x7, x8, x9, x10],
          [y1, y2, y3, y4, y5, y6, y7, y8, y9, y10],
      )
  
file_path: anomalib/tests/helpers/shapes.py
imports: from typing import List, Tuple
  import numpy
  from skimage.draw import polygon
label_desc: Use image node_id 5 for calling a global function with example usage: star(input_region) and returns: polygon