How to transfer this into matlab code
Ältere Kommentare anzeigen
Hello
I need to transfer this code to matlab to use it to get the Normalized red/Grren/Blue index of image
VI=np.zeros((img.shape[0], img.shape[1], 20))
RGB_sum=np.sum(img, axis=2)
R=img[:,:,2]
G=img[:,:,1]
B=img[:,:,0]
rn=R/RGB_sum
gn=G/RGB_sum
bn=B/RGB_sum
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Image Filtering finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!