@tuple_args<EOL>def rand_brightness(imagez, scale=<NUM_LIT:1.0>, randfun=rand.normal(<NUM_LIT:0.>, <NUM_LIT>), clamp=(<NUM_LIT:0.>, <NUM_LIT:1.>)):
l, h = clamp<EOL>r = randfun((imagez[<NUM_LIT:0>].shape[<NUM_LIT:0>], <NUM_LIT:1>, <NUM_LIT:1>, <NUM_LIT:1>)) * scale<EOL>def apply(im):<EOL><INDENT>im += r<EOL>im[im < l] = l<EOL>im[im > h] = h<EOL>return im<EOL><DEDENT>return tuple(map(apply, imagez))<EOL>
:param images:
:param scale: scale for random value
:param randfun: any randfun binding except shape
:param clamp: clamping range
:return: