code: def reset_ghsps():
      global rotationApplied
      global currentAngle
      global anchor
      global image_resized
      global transformedImage
      global imgGamma
      global hue
      global saturation
      global gaussian_blur
      global posterize
      global solarize
      global show_edges
      global low_threshold
      global sobel_threshold
      global sharpen
      global show_emboss
      global emboss
      global flip_H
      global flip_V
  
      transformedImage = None
  
      # reset flags and variables
      image_resized = False
      rotationApplied = False
      anchor = None
      selectedAngle.set("0.0")
      currentAngle = 0.0
      lblCurrentAngle["text"] = str(currentAngle)
  
      # reset flip buttons
      btnFlip_H.deselect()
      flip_H = False
      btnFlip_V.deselect()
      flip_V = False
  
      # reset all sliders
      imgGamma.set(1.05)
      hue.set(0.0)
      saturation.set(1.0)
      gaussian_blur.set(0)
      posterize.set(6)
      solarize.set(255)
      show_edges.set(0)
      low_threshold.set(50)
      sliderLowThreshold["state"] = "disabled"
      sobel_threshold.set(0)
      sharpen.set(8.9)
      show_emboss.set(0)
      emboss.set(114)
      sliderEmboss["state"] = "disabled"
  
      # close any open histogram window
      plt.close()
  
imports: import matplotlib.pyplot
  from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg, NavigationToolbar2Tk
  from matplotlib.figure import Figure
  from tkinter import *
  from tkinter import filedialog
  import platform
  import math
  import caer
label_desc: Use image node_id 13 for calling a global function with example usage: reset_ghsps() without return types