def brightness_multi(x, gamma=1, gain=1, is_random=False):
 if is_random:
  gamma = np.random.uniform((1 - gamma), (1 + gamma))
 results = []
 for data in x:
  results.append(exposure.adjust_gamma(data, gamma, gain))
 return np.asarray(results)

def brightness_multi ( x , gamma = 1 , gain = 1 , is_random = False ) : if is_random : gamma = np . random . uniform ( ( 1 - gamma ) , ( 1 + gamma ) ) results = [ ] for data in x : results . append ( exposure . adjust_gamma ( data , gamma , gain ) ) return np . asarray ( results )
change the brightness of multiply images .