karansher / computer-graphics-raster-images

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

gray.ppm or gray.pgm #44

Open guyuli2002 opened 2 years ago

guyuli2002 commented 2 years ago

My output for rgb to grayscale is gray.ppm file, I can only open it by pgm viewer if I change .ppm to .pgm. Is that ok?

abhimadan commented 2 years ago

Please write image files with a .ppm extension in your code, but feel free to change the file extension if you need to do so to view the image.

guyuli2002 commented 2 years ago

Ok, another question is my simulated bayer mosaic output is much different than what prof has. Is that ok? 捕获 bayer

abhimadan commented 2 years ago

Your bayer mosaic should be a grayscale image so that's incorrect. If that's your demosaicked image then it's also incorrect.