Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

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

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by