How to transfer this into matlab code
Mostrar comentarios más antiguos
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
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Filtering en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!