Borrar filtros
Borrar filtros

how to convert gray image pixel values into text file

1 visualización (últimos 30 días)
krishna kotha
krishna kotha el 24 de Mayo de 2020
Comentada: krishna kotha el 24 de Mayo de 2020
clc;
clear;
close all;
x=imread('lena512.bmp');
this is code i want this image as 512*512 pixcels matrix as is in text file how thsi is possible....?
  3 comentarios
Rithvik Jonna
Rithvik Jonna el 24 de Mayo de 2020
Editada: Rithvik Jonna el 24 de Mayo de 2020
Please use xlswrite function and turn to excel then you can use excel to text file
xlswrite('Image.xls',Image);
krishna kotha
krishna kotha el 24 de Mayo de 2020
i tried it but pixcel values jumping iam not getting exact 512*512 matrx

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Import, Export, and Conversion en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by