Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can i seperate the values for R, B,G and pass the values to a equation and plot the graph?

1 次查看(过去 30 天)
i am getting values using
imshow strip1.tiff
vals = impixel
then i have to substitute the values of R , B , G in this equation
Ar = -log (Rs/ Rb)
Ag = -log (Gs/ Gb)
Ab = -log (Bs/ Bb)
and plot graph for RGB in one graph itself.

回答(1 个)

Walter Roberson
Walter Roberson 2013-4-19
What are "Rs", "Gs", "Bs", "Rb", "Gb", "Bb" ?
R = vals(:,1);
G = vals(:,2);
B = vals(:,3);

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by