dilevin / computer-graphics-raster-images

Computer Graphics Assignment about Raster Images
1 stars 7 forks source link

Grayscale Image is Darker than it should be #48

Closed pjsmith97 closed 4 years ago

pjsmith97 commented 4 years ago

The grayscale image I produce is darker than the sample image given. The "shading" looks normal (i.e. I'm not seeing weird pixelated blotches). It's just darker like the intensity is lower. I'm following the weights given in the assignment handout. Does anyone have an idea as to what might be happening?

pjsmith97 commented 4 years ago

Nvm, I figured it out. I was giving the average of the weighted sum rather than the sum itself.