What does the value of I mean?
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
for i = 1:nrows
for j = 1:ncols
if( maskImage(i,j) )
for im = 1:numImages
I(im) = double(images(i,j, whichChannel, im));
end
[NP,R,fail] = PixelNormal(I, lightMatrix);
surfNormals(i,j,1) = NP(1);
surfNormals(i,j,2) = NP(2);
surfNormals(i,j,3) = NP(3);
albedo(i,j) = R;
end
end
end
What does the value of I mean?
0 Commenti
Risposta accettata
Jan
il 16 Mag 2021
I is the value of images(i,j, whichChannel, im) as a double. So you have to find out, what images contains. How was this variable defined - or is it a function?
2 Commenti
Jan
il 18 Mag 2021
function [surfNormals, albedo] = NormalMap( images, ...
lightMatrix, maskImage, whichChannel)
This is the definition of the function NormalMap. This does not clarify, what the contents of "images" is.
If it a variable, which is obtained as input?
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!