docstr: Randomly sample the value from min_v and max_v depending on
  float or int type and also whether to use open or closed
  interval for sampleing
docstr_tok: ["Randomly","sample","the","value","from","min_v","and","max_v","depending","on","float","or","int","type","and","also","whether","to","use","open","or","closed","interval","for","sampleing"]
code: def sample_value(self):
      """
      Randomly sample the value from min_v and max_v depending on
      float or int type and also whether to use open or closed
      interval for sampleing
      """
      if self.vtype == "float":
          v = np.random.uniform(low=self.min_v, high=self.max_v)
      elif self.vtype == "int":
          if self.closed_interval:
              v = np.random.randint(low=self.min_v, high=self.max_v + 1)
          else:
              v = np.random.randint(low=self.min_v, high=self.max_v)
      return v
  
imports: import numpy
  import PIL
label_desc: Use image node_id 2 for calling the RandomValueApplier obj's underlying member method code with example usage: obj.sample_value() and returns: v