Matlab code for formula of RGB image to Blue Ratio image conversion
Mostra commenti meno recenti
Hello i want matlab code for the formula of RGB image to Blue Ratio image. Formula is :
100*B/1+R+G * 256/1+R+G+B

i use the following code...Kindly check is there any problem in it.
img=imread('image.jpg');
R= img(:,:,1);
G=img(:,:,2);
B=img(:,:,3);
img_BlueRation=((100 * B)./(1+R+G)) .* (256./(1+B+R+G));
Regards
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Read, Write, and Modify Image in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!