Filter löschen
Filter löschen

how to convert gray image pixel values into text file

1 Ansicht (letzte 30 Tage)
krishna kotha
krishna kotha am 24 Mai 2020
Kommentiert: krishna kotha am 24 Mai 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 Kommentare
Rithvik Jonna
Rithvik Jonna am 24 Mai 2020
Bearbeitet: Rithvik Jonna am 24 Mai 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 am 24 Mai 2020
i tried it but pixcel values jumping iam not getting exact 512*512 matrx

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by