code: def N_to_reso(n_voxels, bbox):
      xyz_min, xyz_max = bbox
      dim = len(xyz_min)
      voxel_size = ((xyz_max - xyz_min).prod() / n_voxels).pow(1 / dim)
      return ((xyz_max - xyz_min) / voxel_size).long().tolist()
  
imports: import cv2, torch
  import numpy
  from PIL import Image
  import torchvision.transforms
  import torch.nn.functional
  import scipy.signal
  import torch.nn
  import plyfile
  import skimage.measure
label_desc: Use image node_id 4 for calling a global function with example usage: N_to_reso(n_voxels, bbox) and returns: unknown