필터 지우기
필터 지우기

convert mat file to jpg

조회 수: 7 (최근 30일)
khaled alsaih
khaled alsaih 2018년 7월 3일
댓글: khaled alsaih 2018년 7월 3일
hello guys i have mat files with the size of 512*1024*128 where 128 is the number of images and 512*1024 is the size of the image all i am trying to do is to convert these images to ipg or png files with order so the first image is 1.png and the second image is 2.png till 128.png
thanks for your assist

채택된 답변

Image Analyst
Image Analyst 2018년 7월 3일
A slight adaptation of the FAQ to extract your images from your 3-D array
imageArray = array3d(:, :, k);
rather than calling imread()
imageArray = imread(fullFileName);
  댓글 수: 2
khaled alsaih
khaled alsaih 2018년 7월 3일
i couldnt get it brother , the names in my file is different not mat1 or mat 2 ,,, they are darios_219.mat , chetos_317.mat each mat file has the size of 512*1024*128 and inside each mat file name is image_sequence , i just want to convert to png or jpg no text file
khaled alsaih
khaled alsaih 2018년 7월 3일
thanks i got it

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by