Open guyuli2002 opened 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.
Ok, another question is my simulated bayer mosaic output is much different than what prof has. Is that ok?
Your bayer mosaic should be a grayscale image so that's incorrect. If that's your demosaicked image then it's also incorrect.
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?