I have an input image, i have processed the same orignal image (input) by applying some contrast based algorithm. After that i applied the max operator to each image (oringnal image and processed image) for the extraction of highest pixels values which can be known as bright channel of the image. After calculating the bright channels of each orignal image and processed image now i want to calcultae the intensity of the each image to decide which image has more intensity or have more number of bright pixel. One of the method which i already know is the histogram calculation. I am interested for some another method as because in histogram i can not decide which one have more brighten. Or what is the best way by using the histogram method from which we can easily diffrentiate the high intensity image..Here i am providing the code and images. The code and all the images are attached.
Thanks in advance!