If I increase the probability to 1 here, does that mean it equalizes all the images and the original images are never seen in the network?
Is there any way to see how many images are actually being shown to the network. Like a dry run to see the number of images passing with and without augmentation?
A random number is generated from U(0, 1). The function initialized a probability threshold. If the value is larger thsn the threshold the whole batch is histogram equalized, image per image.