Questions tagged [gamma]

Gamma questions pertain to non-linear responses in the display chain. The application, adjustment or compensation for gamma, as well as the consequences of doing or not doing so are common subjects.

164 questions
3
votes
1 answer

Why an error occurs on apache superset "An error occurred while fetching table metadata/removing the table schema. Plscontact your administrator"?

I assigned the Gamma and Sqllab roles to users and granted schema and database access permissions to the Gamma role for specific tables. SQL queries can be executed in Sql Lab without any issues. However, when attempting to select or remove tables…
3
votes
1 answer

THREE.js: Textures become grayish with renderer.OutputEncoding = sRGBEncoding

I'm playing a bit with the Three.js cloth example but instead of the alphaMap, I kept the cloth-plane fully opaque and changed its color map. The result is quite disappointing as the texture now renders very grayish due to the OutputEncoding of the…
Forepick
  • 919
  • 2
  • 11
  • 31
3
votes
1 answer

Linear gamma v.s. sRGB texture workflow in Godot?

Should my texture assets be linear or sRGB? In either case, what's the proper way to import them? (There's a similar question on r/godot but I don't see any thorough answers.) Godot seems to assume all PNG textures are linear, regardless of any…
ppm
  • 178
  • 8
3
votes
1 answer

How to use the Gamma function from Tensorflow probability as log likelihood loss in a regression model

I am attempting to use the Gamma function from tfp in a custom Keras loss function using the log_prob method, but the function always returns nan when training starts. I have tested the loss function and seems to work fine: import tensorflow as…
Alberto
  • 467
  • 3
  • 16
3
votes
3 answers

How can I fix PNG's gamma using ImageMagick?

I'd like to fix a PNG's gamma value to 1/2.2. For example, let's say there is a png image whose gAMA value is 1/4.4. For some reasons, I have to fix the value to 1/2.2. So I try convert command like below. # 0.5 is led by (1/4.4)/(1/2.2) # 0.45455…
ueneid
  • 63
  • 6
3
votes
2 answers

How can I emulate gamma correction with CSS3 filters?

According to this page http://www.w3schools.com/cssref/css3_pr_filter.asp there are contrast, brighness, hue, saturation, etc. But no explicit access to gamma. Is there a way to emulate it with the existing CSS3 image filters, or does exist a plugin…
Konstantin
  • 2,983
  • 3
  • 33
  • 55
3
votes
2 answers

How to calibrate a Mac Monitor for iPhone development

How to calibrate a Mac monitor to match the iPhone's colours? What is the iPhone's gamma? Thank you.
espreccino
  • 31
  • 1
3
votes
1 answer

error message when performing Gamma glmer in R- PIRLS step-halvings failed to reduce deviance in pwrssUpdate

I am trying to perform a glmer in R using the Gamma error family. I get the error message: "Error: (maxstephalfit) PIRLS step-halvings failed to reduce deviance in pwrssUpdate" my response variable is flower mass. My fixed effects are base mass, F1…
Shannon Hodges
  • 163
  • 1
  • 6
3
votes
0 answers

Efficient way of OpenEXR to 8bit format with gamma encoding by OpenEXR and numpy?

I'm looking for more efficient solution of converting .exr to 8bit JPEG with gamma encoding. Currently, I make use of OpenEXR module and numpy. Here is the code snippets: File = OpenEXR.InputFile(exrfile) PixType =…
Drake Guan
  • 14,514
  • 15
  • 67
  • 94
3
votes
2 answers

Tweak the brightness/gamma of the whole scene in OpenGL

Does anyone know how I can achieve the following effect in OpenGL: Change the brightness of the rendered scene Or implementing a Gamma setting in OpenGL I have tried by changing the ambient parameter of the light and the type of light (directional…
Kenji Baheux
  • 596
  • 4
  • 14
3
votes
1 answer

Gamma Correction on an Image in android

I am building an android app which provides the user with some image processing functionalities. But before applying any image transformation function I would like to do gamma correction to improve the image. I know how to perform the gamma…
karn
  • 5,963
  • 3
  • 22
  • 29
2
votes
1 answer

Gamma correction in Y'CbCr space

I need to do gamma correction on images in Y'CbCr space so I can bring out details in saturated and starved areas in an image and I'm wondering if I need to adjust the chroma sub channels? I know that if I starve the luma channel pixels the chroma…
onemasse
  • 6,514
  • 8
  • 32
  • 37
2
votes
0 answers

OpenGL sRGB experiment

I have made a simple demo in OpenGL to better understand gamma correction. I have realized that it breaks some of my assumptions, so I was hopping someone can help me understand. For reference, I have made this image with GIMP. It shows the the…
tuket
  • 3,232
  • 1
  • 26
  • 41
2
votes
0 answers

How to use the gamma distribution equation

I am using R to fit a GLM with Gamma distribution (link inverse). I would like to use the equation of the model to get other values of my predictors, knowing the response value. I know that the equation of a gamma distribution with link inverse is…
AUS85
  • 173
  • 2
  • 7
2
votes
2 answers

Control brightness in Windows at software Level

It might be possible for a similar question to be already present on the site, but I have searched a lot and didn't find any relevant solution, so I'm posting it here. I'm making a Night Light Application, which has two options- Lessen the…
Charitra Agarwal
  • 362
  • 1
  • 11
1 2
3
10 11