code: def nextpow2(value):
      """Compute the nearest power of two greater or equal to the input value"""
      if value >= 1:
          return 2 ** np.ceil(np.log2(value)).astype(int)
      elif value > 0:
          return 1
      elif value == 0:
          return 0
      else:
          raise ValueError("Value must be positive")
  
imports: import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: nextpow2(value) and returns: unknown, int, int