Skip to content

Instantly share code, notes, and snippets.

@oscardelama
Created February 6, 2015 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oscardelama/bd2f949fd9295ca2a9b5 to your computer and use it in GitHub Desktop.
Save oscardelama/bd2f949fd9295ca2a9b5 to your computer and use it in GitHub Desktop.
rgb-noise: sRGB linear - Initial analysis
vvm.rgb <- convert.to.rgb(target.space = 'sRGB', use.camera.tc = FALSE, target.tc = 'linear')
x11()
vvm.rgb$plot(tlab = "VVM Selected samples in linear sRGB",
slab = 'Without camera tone curve')
vvm.rgb$plot(x = log2(mean), y = 20*log10(mean/sqrt(var)),
tlab = "SNR Selected samples in linear sRGB",
slab = 'Without camera tone curve',
xlab = "Signal (stops)", xlim=c(-1.5,8),
ylab = "SNR (dB)")
vvm.rgb$plot(x = (mean), y = 20*log10(mean/sqrt(var)),
tlab = "SNR Selected samples in linear sRGB",
slab = 'Without camera tone curve',
xlab = "Signal",
ylab = "SNR (dB)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment