Questions tagged [luminance]
64 questions
0
votes
1 answer
calculate (or estimate) the value of the luminance using the values of the pixels even when the camera is doing an auto-correction?
I'am actually doing a project on Android in wich I'am affronted to calculate or estimate the luminance from the back Camera in real time ( which means, taking the frames from the back camera and have a value of the luminance every time a frame…

3arbouch
- 43
- 9
0
votes
2 answers
How to measure visible blue light intensity in a room using iPhone camera?
I see that the algorithm for measuring luminance in LUX for a pixel is (obtained from here)
double luminance = r*0.299 + g*0.587 + b*0.114;
I'm interested in knowing the intensity of a given picture's light in the "blue" spectrum, rather than pure…

Alex Stone
- 46,408
- 55
- 231
- 407
-1
votes
1 answer
Increasing luminosity does not produce desired effect
cvCvtColor(img,dst,CV_RGB2YCrCb);
for (int col=0;colwidth;col++)
{
for (int row=0;rowheight;row++)
{
int idxF = row*dst->widthStep + dst->nChannels*col; // Read the image data
…

Expert Novice
- 1,943
- 4
- 22
- 47
-2
votes
1 answer
How to convert RGB image to Luminance image and store the image as .raw file in Matlab
i am trying to convert an RGB image to a Luminance image and save it as a .raw image to use it in another software. I am using the following code
m = imread('20x20-alpha1-1.jpg');
out = zeros(1942,2588);
for i=1:1942
for j=1:2588
out(i,j) =…

BF Mohtedi
- 53
- 6