Think step by step. Write python code, which input is RGB image (file name is “input.bmp”) and output an image file of a histogram of luminance level of input image (file name is “result.jpg”), by using opencv and numpy and scipy and matplotlib. Write your response with exactly 6 paragraphs, separated with the markdown divider: ***.
user