how to convert gray image pixel values into text file

조회 수: 1 (최근 30일)
krishna kotha
krishna kotha 2020년 5월 24일
댓글: krishna kotha 2020년 5월 24일
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
Rithvik Jonna
Rithvik Jonna 2020년 5월 24일
편집: Rithvik Jonna 2020년 5월 24일
Please use xlswrite function and turn to excel then you can use excel to text file
xlswrite('Image.xls',Image);
krishna kotha
krishna kotha 2020년 5월 24일
i tried it but pixcel values jumping iam not getting exact 512*512 matrx

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by