Closed YuChinKoo closed 2 years ago
After implementing desaturated function, I get this output:
However, this image looks a lot lighter than the one shown in the handout
I was wondering if you guys used a smaller factor for desaturating the image, or do i have a bug in my implementation
You probably have a bug. One potential bug that's very easy to run into is accidentally doing integer division instead of float division.
After implementing desaturated function, I get this output:
However, this image looks a lot lighter than the one shown in the handout
I was wondering if you guys used a smaller factor for desaturating the image, or do i have a bug in my implementation