필터 지우기
필터 지우기

I have text file which contains pixel values of an image i want to import this text file and read its data(which are pixel values of an image) and want to show it as an image. how to do this???

조회 수: 1 (최근 30일)
the text file contains 48x48 pixel grayscale images of face.

답변 (1개)

KL
KL 2017년 11월 2일
maybe something like,
data = dlmread('filename.txt');
imagesc(data)
  댓글 수: 1
saeeda saher
saeeda saher 2017년 11월 3일
i tried this, but it shows a graph, my text file contains pixel values of an gray image which is a face, i want to get that face image y reading pixel values. i do not want image of a graph. kindly, help in this. thank you

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

카테고리

Help CenterFile Exchange에서 Language Support에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by