code: def crop_wwwc(sitkimg, max_v, min_v):
      # 对SimpleITK的数据进行窗宽窗位的裁剪，应与训练前对数据预处理时一致
      intensityWindow = sitk.IntensityWindowingImageFilter()
      intensityWindow.SetWindowMaximum(max_v)
      intensityWindow.SetWindowMinimum(min_v)
      return intensityWindow.Execute(sitkimg)
  
imports: import numpy
  import SimpleITK
label_desc: Use image node_id 2 for calling a global function with example usage: crop_wwwc(sitkimg, max_v, min_v) and returns: intensityWindow