In this problem, you will implement a function to randomly change the brightness, contrast, saturation, and hue of an image. **Example:** Suppose we have a 5x5 image and we want to change its brightness by 20%. The function should return a new image with the changed brightness. **Constraints:** The function should randomly change the brightness, contrast, saturation, and hue of the image within a certain range.
Test Cases
Test Case 1
Input:
[[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15], [16, 17, 18, 19, 20], [21, 22, 23, 24, 25]]Expected:
[[1, 2, 3, 4, 5], [6, 7, 8, 9, 10], [11, 12, 13, 14, 15], [16, 17, 18, 19, 20], [21, 22, 23, 24, 25]]Test Case 2
Input:
[[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12], [13, 14, 15]]Expected:
[[1, 2, 3], [4, 5, 6], [7, 8, 9], [10, 11, 12], [13, 14, 15]]+ 3 hidden test cases