Home /
Expert Answers /
Computer Science /
pick-an-rgb-image-and-use-the-average-method-to-create-a-grayscale-version-task-2-use-the-lumin-pa690
(Solved):
Pick an RGB image and use the average method to create a grayscale version. Task 2 Use the lumin ...
Pick an RGB image and use the average method to create a grayscale version. Task 2 Use the luminance method to create a grayscale image of the image from Task 1. Compare the two results. Task 3 Patch for numpy incompatibility, put following in your code: import numpy def patch_asscalar(a): return a.item() setattr(numpy, "asscalar", patch_asscalar) Given that Apple 1 (below) has a representative RGB color of \( (176,63,81 \) ) and Apple 2 has a representative RGB color of \( (185,77,89) \), calculate the \( L^{*} a^{*} b^{*} \) color for each apple.
Apple 1 Apple 2
Compare the Euclidean color distance and \( L^{*} a^{*} b^{*} \) color distance of the two apples.