0
I’m reading an image teste.jpg
by command imread
and turn it into a gray image by the command rgb2gray
. I need the corresponding codes of the result of this matrix, in a file .txt
.
Follow the Example:
A = imread ('alta-fauna15.jpg')
B = rgb2gray (A)
imshow (A) // Mostra Imagem colorida
imshow (B) // Mostra Imagem em escala de cinza
I need those matrix values B
in an archive .txt
, how can I do this?
I could see that this question was created through cell phone, or at least it seemed, because most of the words seemed to result from
auto-correct
xD– Chun