Skip to main content
Filter by
Sorted by
Tagged with
-2 votes
0 answers
34 views

I’m working with a fictional dataset to practice plotting a generalized linear mixed model (GLMM) and would like advice on good visualization strategies. Here’s the model I fit using glmer from the ...
linnea thomassen's user avatar
1 vote
0 answers
323 views

I have the EDID hex string of Display (or Monitor) I want to check whether the monitor supports HDR, HLG or SDR content. Is it possible to find out this information from EDID string ? I have gone ...
Rankit Dua's user avatar
2 votes
0 answers
214 views

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 ...
tuket's user avatar
  • 4,149
0 votes
1 answer
972 views

The colors in my project (which use fbx models) are messed up, after updating to version 136. The colors are much darker now. The migration guide stated: WebGLRenderer.gammaFactor and THREE....
Damjan Pavlica's user avatar
0 votes
0 answers
69 views

Hello I'm using opencv on python and I was wondering if there was a way to generalise the value of the parameter gamma on a set on images that have diffrents luminance( dark , bright and normal images)...
coderAI's user avatar
2 votes
1 answer
2k views

How can I gamma correct a 32bit .exr file to look like the desired result in the image of this question? Basically converting from liner to sRGB somehow? I got this code(and modified it a bit) from ...
johancc's user avatar
  • 65
3 votes
1 answer
2k views

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 ...
Forepick's user avatar
  • 957
-1 votes
1 answer
317 views

I am using a PowerShell command to screengrab a window by using a bat file as follows: powershell -c "Add-Type -AssemblyName System.Windows.Forms; [System.Windows.Forms.SendKeys]::SendWait('%%{...
Graham3D's user avatar
1 vote
1 answer
358 views

I'm getting a persistent error "Error: variables ‘x1’, ‘x2’, ‘x3’ were specified with different types from the fit" while trying to predict the outcome of new data using predict in R. I've ...
agrade's user avatar
  • 13
0 votes
0 answers
184 views

Is there an algorithm available in R that can decompose a gamma distribution into two (or more) gamma distributions? If so, can you give me an example with it? Basically, I have a data set that looks ...
Yun Hwang's user avatar
-2 votes
1 answer
65 views

I am trying to create a histogram of a variable with superimposed the lines of the 2 gammas distribution and the mixture of those two. But when I insert the following code: hist(age, breaks = ...
LJS's user avatar
  • 11
2 votes
2 answers
2k views

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 ...
Charitra Agarwal's user avatar
1 vote
2 answers
1k views

I would like to run a monte carlo simulation in r to estimate theta. Could someone please recommend some resources and suggests for how I could do this? I have started with creating a sample with the ...
John Huang's user avatar
0 votes
0 answers
427 views

I want to write a function in R for simulating 3 numbers of gamma procees that each process represent degradation process of a defect in a system we assume 3 gamma process {X_k(t);t>=0}, k=1,2,3 ,...
shabi's user avatar
  • 1
0 votes
1 answer
19k views

I am attempting to create a gamma distribution in MATLAB; however, I keep receiving the error: Index in Position 1 exceeds array bounds (must not exceed 100). Assuming I am reading this correctly, ...
TryingToMath's user avatar
0 votes
0 answers
158 views

I'm currently trying to build a model with one predictor variable. I have insurance data: loss dollars and their policy limits. I'm able to plot a histogram with the loss amounts and fit a gamma ...
Player2Entered_'s user avatar
2 votes
2 answers
626 views

I want to create a color spectrum of constant perceived luminance. This is my attempt so far (here's the codesandbox): The code goes through 8-bit RGB values of increasing hue and constant (and ...
John's user avatar
  • 7,119
2 votes
1 answer
797 views

Trying to control monitor gamma using C# using DLLImport to run SetDeviceGammaRamp in gdi32.dll. Similar to the answer on this question which controls brightness similarly: SetDeviceGammaRamp just ...
bk999's user avatar
  • 45
1 vote
1 answer
421 views

I am trying to plot a load of data and identify how it is distributed, I have easily plotted a normal distribution and Beta distribution against my histogram. Histogram and density plot. With normal ...
Sam Stephens's user avatar
1 vote
0 answers
152 views

I need to combine 2 gamma variates with different shape/scale params, which boils down to calculating new shape/scale params. I am using boost/std facilities for dealing with statistical problems, ...
Ilia Kolominsky's user avatar
3 votes
1 answer
3k views

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 ...
ppm's user avatar
  • 308
0 votes
0 answers
109 views

Hello Stackoverflowers, I have been working on the equation found in the book: Bayesian survival analysis by Joseph Ibrahim 2001 (Chapter parametric models p40-42). I manage to get a model going ...
Sle R.'s user avatar
  • 119
0 votes
0 answers
1k views

I asked this question in more detail on Stack Exchange. Here I will give a shorter version. The code below does not work for the Gamma distribution, why? df <- data.frame(month=sample(1:12, 3000, ...
user avatar
1 vote
1 answer
562 views

I am using STAN to use a gamma-poisson regression to account for over-dispersion in a dataset, in an assignment. I have looked at the solutions to how to make the model in STAN, which is shown below: ...
Kasper Fischer-Rasmussen's user avatar
1 vote
0 answers
108 views

I am running a glm in R with Gamma distributed error. I usually use the Anova() type II function to get the p-value for my explanatory variable. This Anova() type II returns (by default) for Gamma a ...
Valentina Migani's user avatar
0 votes
1 answer
110 views

QML GammaAdjust doesn't work for me. I wanna change gamma factor of my picture, but my code does not work. Qt Version: Qt 5.11.2 (MSVC 2015, 32 bit) Platform: Windows 10 I try to run a simple ...
Neda's user avatar
  • 119
1 vote
2 answers
6k views

I'm trying to do a gamma correction function in MATLAB, and to say the least, I'm getting some mixed results. Where using a gamma constant below 1 (such as 0.5) gives me a brighter image, and using a ...
AlfonsoZR's user avatar
2 votes
1 answer
4k views

I have implemented a model using the glm() function and specifiy the family distribution as gamma: glmer(FirstSteeringTime ~ error_rate + (1 + error_rate | pNum), family = Gamma, data = modellingdata)...
codegoblin1996's user avatar
0 votes
1 answer
256 views

I have a dataframe with nomalized percentage info. Eg. wordCount number Percent 2.0 1282 0.267345 1.0 888 0.185213 3.0 1124 0.170791 4.0 1250 0.152877 5.0 ...
Jennifer's user avatar
1 vote
1 answer
548 views

I have two list. Both include normalized percent: actual_population_distribution = [0.2,0.3,0.3,0.2] sample_population_distribution = [0.1,0.4,0.2,0.3] I wish to fit these two list in to gamma ...
Jennifer's user avatar
0 votes
0 answers
92 views

I wanted to know if it is possible starting from some photos by appropriately modifying the gamma values ​​to perform an overlap and tone mapping and extract a hdr photo, I found some code on the ...
Da Nio's user avatar
  • 302
0 votes
0 answers
690 views

I have a population dataframe. How to plot a gamma distribution diagram? I am using python and I can plot a diagram using seaborn or plot bar. But I need a gamma distribution diagram. I dont know how ...
Jennifer's user avatar
0 votes
1 answer
955 views

I want to plot in the csv file the symbol gamma in greek letter. I tried Unicode and the CSS code but I got errors or not the desired result. For instance, the CSS-code for gamma is the following one:...
chrisis's user avatar
  • 119
1 vote
1 answer
440 views

I am learning about the sRGB color space in OpenGL. One thing is colors from textures, but other - direct color values, let's say from graphics editor. A color component of 0.5 means that the output ...
kverkagambo's user avatar
3 votes
1 answer
2k views

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 ...
Alberto's user avatar
  • 467
1 vote
0 answers
79 views

I want to look for detailed information such as random-gamma calculation error and its range. But at the moment I have not found yet. If anyone knows it and the risk with somewhat range caused by the ...
goodgest's user avatar
  • 418
1 vote
2 answers
5k views

I'm finding the parameters of Gamma distribution for a small sample. Later, I need to use the parameters to predict future data. However, the result shown incorrect answer. This is the result I got ...
Ong Jun Keat's user avatar
0 votes
1 answer
2k views

I'm studying GLM models from the Lane (2002) paper and I am a bit confused with the analysis of deviance for the Gamma-GLM model. In the paper, the p-value is lower than P < 0.001 but if we used ...
andapo's user avatar
  • 31
1 vote
0 answers
673 views

I am trying to find the shape and scale parameters for the gamma distribution of some data, but I was not able to find a method to work this out. How do you commonly do it? I am analyzing response ...
CatM's user avatar
  • 315
1 vote
1 answer
269 views

I need to implement sRGB gamma curve in tensorflow. But I can not compute the element wise condition in tensorflow. In sRGB curve, if the value is less or equal than 0.0031308, it is a linear ...
Jiaju Orange Yue's user avatar
2 votes
0 answers
320 views

I am trying to fit a left-truncated gamma distribution in R. I have large claims above $25,000. Claims below $25,000 are unknown. I am trying to fit the gamma parameters through the MLE procedure in R....
ryangold96's user avatar
7 votes
2 answers
2k views

In Metal on iOS the default colorPixelFormat is bgra8Unorm. When I change format to rgba16Float all imagery brightens. Why? An example: Artwork MTKView with format bgra8Unorm. Texture-mapped quad. ...
dugla's user avatar
  • 12.9k
0 votes
1 answer
104 views

For example i have this data: x-c(73,6,77,81,91,120,150,61,65,68,18,20,23,12,14,18,23,26 +26,27,2,3,3,40,41,41,6,10,11,12,37,38,38,6,73,6,51) and i want to calculate the a=shape and b=scale ...
Christos Varvarrigos's user avatar
-1 votes
2 answers
4k views

I would like to use import cv2 def adjust_gamma(image, gamma=1.0): # build a lookup table mapping the pixel values [0, 255] to # their adjusted gamma values invGamma = 1.0 / gamma ...
gen2's user avatar
  • 9
4 votes
0 answers
938 views

I am writing a Blinn Phong (LearnOpenGL tutorial) lighting and trying to get gamma corrected colors as final result. Before i start digging about gamma correction, my lighting looks like this: Then i ...
yuris89's user avatar
  • 63
1 vote
0 answers
307 views

I want to present visual stimuli in the screen with lineal values for the luminance. A value of 0.5 must have half the luminance than a value of 1.0. First I have measured the value gamma of the ...
bienqueda's user avatar
2 votes
1 answer
631 views

I have this line of code in a MATLAB program: x(:,i) = gamrnd(a(i),1,dim,1) I was wondering in what way I could write this same line in Python. I think the equivalent statement is: gamma.rvs(a, size=...
A.Torres's user avatar
  • 423
2 votes
1 answer
1k views

Is it possible to send an image to a metal shader (from scenekit) without any color/gamma correction? I have a data texture where each channel corresponds to specific values that I want to be able to ...
user avatar
11 votes
1 answer
20k views

Quick question! I have an R G B value and I want to convert to convert it to be 50% brighter. I found a gamma formula but I'm unsure if gamma is the correct way to go. So far, I'm using: r =...
UnseededAndroid's user avatar
2 votes
1 answer
2k views

This may be a very stupid question but Does anyone know why i am not getting the second bit equals to the mean (100)? #beta=4, alpha=5, mean=20 qgamma(0.5, 5, 1/4) # 18.68364 #beta=2500, alpha=0.04, ...
syys's user avatar
  • 63