Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Averaging images using layers
#1
I am working on a project to measure the various components of light in a night scene and need to stack and average multiple images.  I am doing this using layers in GIMP 2.10.8 and hope to reduce the opacity of each stacked layer; eg 100%, 50%, 33%, etc.  However in a simple test using just two layers (Black, 0.000, at 100% opacity and above that White, 1.000 at 50% opacity) the resulting "visible layer" pixels had a value of 0.737 not the 0.500 I had expected.  I am not sure what I am doing wrong but would appreciate any advice on how to stack say 10 photographic images which gives equal weight to the pixel values in each image?
Reply
#2
(02-27-2019, 09:50 AM)Bob Wrote: I am working on a project to measure the various components of light in a night scene and need to stack and average multiple images.  I am doing this using layers in GIMP 2.10.8 and hope to reduce the opacity of each stacked layer; eg 100%, 50%, 33%, etc.  However in a simple test using just two layers (Black, 0.000, at 100% opacity and above that White, 1.000 at 50% opacity) the resulting "visible layer" pixels had a value of 0.737 not the 0.500 I had expected.  I am not sure what I am doing wrong but would appreciate any advice on how to stack say 10 photographic images which gives equal weight to the pixel values in each image?

Use "Legacy" mode (selector at end of the "Mode" selector). I believe that in "Normal" mode, Gimp 2.10 works on the linear value, while in "Legacy" mode, it work like Gim 2.8 on the gamma-corrected values.
Reply
#3
Thank you Ofnuts.  Selecting under "Precision", "Linear Light" gives me in Color Picker the very pixel values I need ...but I note the adjacent RGB (%) figures are not then correct. Presumably a bug?   Big thanks for your help.
Reply
#4
Maybe I was a bit premature in giving this the tick off.  I found the exported images still use "Perceptive Gamma" pixel values even when "Linear Light" is ticked in Image / Precision or in Edit / Preferences /Gamma.    Something to watch for if you are into stacking images and then using the pixel values.
Reply


Forum Jump: