Questions tagged [gamma]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
16
votes
2answers
458 views

Is gamma still important to take into account?

Do different monitors (including mobile screens) still use significantly different gamma functions when displaying colour images? Is there a standardised way to represent colour that can then be ...
10
votes
2answers
1k views

Should the alpha channel be gamma corrected

We know that in PNG,BMP,etc... the pixel value stored is not in the linear RGB space. But I found no document saying anything about the alpha channel. Is the alpha channel stored in image files in ...
10
votes
2answers
582 views

Should JPEG encoding take into account gamma?

When an image is encoded using JPEG, the RGB pixels are first encoded into YUV, and then the UV channels are downsampled. Before actually doing the DCT and encoding the coefficients, JPEG doesn't ...
9
votes
4answers
2k views

Why shouldn't Bump, Normal and Displacement maps be gamma corrected?

So I'm trying to wrap my head around this from a fairly technical point of view. When you add a Bump or Normal or Displacement map in your shader they should not be gamma corrected. But diffuse ...
9
votes
1answer
191 views

Applying correct light physics to gaussian blur formulas for glow

I am trying to make a glow shader using separable gaussian blurring. I have recently been inspired by the short youtube video "computer color is broken" and I have messed with it with color ...
7
votes
1answer
724 views

How are we supposed to fix brightness with square roots?

I recently watched this video that talked from a physics perspective how most of the ways we deal with color on the computer is incorrect because brightness is on a logarithmic not linear scale. ...
7
votes
1answer
191 views

Brightness and contrast VS Gamma, is it possible to identify the gamma “correction amount”?

Trichoplax question aroused my curiosity and the answers in this question also reminded me why I sometimes use different gamma "amounts" to enhance images. Therefore, is it possible to determine the ...
7
votes
1answer
281 views

Gamma setting in games - Why 3 icons?

Whenever I try to adjust gamma settings in a game, I am shown three different icons and usually asked to make sure the left-most one is barely visible. Example: What are the other two icons for?
6
votes
0answers
75 views

Noise shaping for dithering with gamma?

The context of this question is correct dithering of color with gamma correction. In dithering we add (shaped) noise $n$ to a signal $s \in [0, 1]$ based on a random variable $r \in [0, 1]$ $$s' = s +...
5
votes
1answer
260 views

Artifacts when gamma correcting

Doing post-process gamma correction is showing texture artifacts, here is a small example on a skybox: The first image is gamma correcting on the skybox shader and seems correct, the lower is doing ...
5
votes
1answer
93 views

gamma transform in webGLSL: when already done or yet to be done?

Color spaces issues are such a pain, especially when you create color data at the middle of the chain, and a pile of libs and apps separate this to the display... Here I only worry about gamma ...
4
votes
2answers
413 views

Does a gaussian blur based bloom/glow shader require gamma correction? Any other tips?

Hello I have a simple application with some bright 2d mono-color shapes I am hoping to make appear emissive with a nice glow around them. To do that I am producing multiple gaussian blurs of varying ...
4
votes
1answer
240 views

Gamma correction and halftone

I'm writing a halftone algorithm, which takes standards RGB intensities in the range of $0-255$ and outputs black and white elements with a corresponding size ratio. Should I apply a gamma expansion ...
2
votes
1answer
58 views

Offline path tracer produces a darker image than expected

I've been going though Peter Shirley's beginner raytracing books. Upon building the Cornell box and rendering an image, I get a much darker / dimmer image than expected. The color values are ...
1
vote
1answer
241 views

Gamma correction is done in an image or a monitor?

pretend the images and the monitor have same color profile Is every image from the internet commonly got gamma corrected? Or our monitor is automatically gamma corrected all the image showed up?
0
votes
0answers
89 views

Path tracing - Better images without Gamma correction?

So I read about tonemapping and Gamma Correction recently and have implemented it in my path tracer. For the time being I'm using Reinhard tonemapping operator as described in his paper $L_d = L_w *...