code: def calc_volume(input_data, pixdim=None, affine=None, mask_value=0):
      input_data, input_affine = read_image_files(
          input_data, return_affine=True
      )
  
      pixdim = _get_pixdim(pixdim, affine, input_affine)
  
      return (
          pixdim[0]
          * pixdim[1]
          * pixdim[2]
          * calc_voxel_count(input_data, mask_value)
      )
  
file_path: DeepNeuro/deepneuro/outputs/measure.py
imports: import numpy
  from skimage.morphology import label
  from skimage.measure import regionprops, mesh_surface_area, marching_cubes
  from scipy import signal
  from deepneuro.utilities.conversion import read_image_files
label_desc: Use image node_id 6 for calling a global function with example usage: calc_volume(input_data, pixdim, affine, mask_value) and returns: unknown