code: def add_border_mask(scene, iterations=10):
      for cap in tqdm(
          scene.captures,
          total=len(scene.captures),
          desc="Generating border masks",
      ):
          if iterations > 0:
              cap.border_mask = (
                  ndimage.binary_dilation(
                      cap.binary_mask, iterations=iterations
                  ).astype(cap.binary_mask.dtype)
                  - cap.binary_mask
              )
          else:
              cap.border_mask = cap.binary_mask - cap.binary_mask
  
imports: import os
  import random
  import numpy
  import open3d
  import torch
  import pytorch3d
  import matplotlib.pyplot
  import matplotlib
  from scipy import ndimage
  from tqdm import tqdm
  from models.smpl import SMPL, vertices2joints
label_desc: Use image node_id 14 for calling a global function with example usage: add_border_mask(scene, iterations) without return types