The idea is to identify the darkest rows of grayscale image. I have two options:
Option 1: manual calculation
I can calculate row-wise intensiveness of pixels manually, but I can't properly construct DenseHistogram object. Size of bins is equal to number of rows, the ranges are between 0 and 255, but I don't understand how to set those manually calculated values to the histogram?
Option 2: DenseHistogram.Calculate
My DenseHistogram object is calculating occurences of each intensity in whole image. How to instruct DenseHistogram to calculate intensity row-wise?
Please, see the picture attached. I want to have similar histogram in the end.