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
0
votes
1 answer

NetLogo: How do I use random-gamma and division for the same calculation formula without any error?

I am using random-gamma with NetLogo. When I add division to the syntax of random-gamma, NetLogo gets an error. The following is an example of calculation syntax using random-gamma. (In addition, these variables "number-dead, S, T" are registered in…
goodgest
  • 418
  • 3
  • 10
0
votes
2 answers

Output the calculated gamma in ImageMagick -auto-gamme option

I need to know the level of gamma correction that ImageMagick is automatically computing when we use the following command convert in.jpg -auto-gamma out.jpg Is that possible? Thank you
Alan_AI
  • 1,529
  • 3
  • 22
  • 32
0
votes
4 answers

In Graphics, when do I need to account for Gamma?

So I've got some code that's intended to generate a Linear Gradient between two input colors: struct color { float r, g, b, a; } color produce_gradient(const color & c1, const color & c2, float ratio) { color output_color; …
Xirema
  • 19,889
  • 4
  • 32
  • 68
0
votes
1 answer

Decode a gamma encoded image

I am working on a project, where the user can specify a gamma function on a image, for example: y=(pow(10,(1023*x-681)/444)-.0408)/(1-.0408)) The image is then encoded with this gamma curve, and then my code must be able to return this image back…
Malu05
  • 119
  • 2
  • 3
  • 10
0
votes
1 answer

simulate Y if Y = log(X) and X ~ Gamma in R

This question is very closely related to posts here and also here. Let's say that random variable X = Gamma(k, theta), and I am interested in simulating Y, where Y = log(X). Could you suggest R-package which allows to do it (or suggest an R-code)?…
user36478
  • 346
  • 6
  • 14
0
votes
2 answers

Gamma fit over axis 3d array

I want to computer gamma fit over the axis 0 from my array (3d). I've try the code below but something its wrong. import scipy.stats as st import numpy as np myarray = np.random.rand(20, 3, 3) a, myloc, myscale = st.gamma.fit(myarray, axis=0)
marcelorodrigues
  • 919
  • 5
  • 12
  • 22
0
votes
1 answer

Relationship between Gamma Correction and Perceived Brightness

I would be very happy to know that the Relationship between Gamma Correction and Perceived Brightness. >>> this is what makes me raise this question...
Ray Wang
  • 1
  • 1
0
votes
0 answers

R nls2 "invalid model formula" fitting gamma

Working in R 3.1.3 and Rstudio. I want to fit gamma distributions that include a location parameter to data in order to 'shift' the x values to a new origin. I am trying to use nls2 with the following code: library(nls2) theVals <-…
Chris Martin
  • 123
  • 2
  • 9
0
votes
1 answer

Estimate pi with Gamma function in Python Monte Carlo method

I'm trying to write a code in python using the Monte Carlo method to estimate pi (where pi = gamma(1/2)**2). I should write a code saying that sqrt(pi) is the area of a square enclosing the function gamma(x=1/2) times the total number of random…
JadeChee
  • 89
  • 1
  • 17
0
votes
0 answers

gamma correction in matlab

currently i am working on my demosiac converter project which convert RAW images , one step of converting image is the gamma correction . this is my gamma correction function in matlab : function [res] = gamma_correct(I, value) % res =…
Halawa
  • 1,171
  • 2
  • 9
  • 19
0
votes
1 answer

GetDeviceGammaRamp to adjust colors

I overlay an OpenGL application (c++), this openGL application uses SetDeviceGammaRamp to set the brightness of the desktop to very high (dont know why). This application is fullscreen and looks good, but my overlay is very bright. Instead of the…
peter
  • 1
  • 1
0
votes
2 answers

Image Equalization to compensate for light sources

Currently I am involved in an image processing project where I am dealing with human faces. But I am facing problems with the images in cases where the light source is on either the left or right side of the face. In those cases, the portion of the…
ZdaR
  • 22,343
  • 7
  • 66
  • 87
0
votes
3 answers

Gamma-correct zoomable image (dzi, etc) generator

I'm using MS Deep Zoom Composer to generate tiled image sets for megapixel sized images. Right now I'm preparing a densely detailed black and white linedrawing. The lack of gamma correction during resizing is very apparent; while zooming the tiles…
Spiny Norman
  • 63
  • 1
  • 4
0
votes
1 answer

Link "identity" function to gamma distribution in VGAM package of R

I'm using the VGAM package to do a regression between two samples which are Gamma distributed. Is it possible to choose the identity function for the link? If yes, how? I'm using these code line and it works: fit <- vglm(Y ~ X , family = gammaR,…
Didi86
  • 1
0
votes
1 answer

iPad display gamma differences between models

I have a project and the background color for UIView is ok in iPad Mini 1. The color is FEEB04. But testing in iPad 2 Air the gamma is too bright. What could be wrong?
CesareoAguirre
  • 1,557
  • 13
  • 11
1 2 3
10
11