I’m a little lost with a test output.
I have a few thoughts on it, but I can’t understand where the error is and I can’t find a reference file for this test.
What is meant with the Term “energy at 3”. I think it’s referring to the pixel in (2,0) in the total_energy array. But when I look at small2.ppm, the total_energy at this field should not be zero. Or am I missing something?
Here for reference small2.ppm.
From what I am understanding 2*255^2 should be correct. Or is the test testing something else? Or is it not testing small2.ppm?
I’m passing the second energy test (energy_wide).
Thank you in advance!