How can I read a 3 D 256*256*256 image file(.mat extension) ?

2 次查看(过去 30 天)
imread('brain.mat')
output
Error using imread (line 362)
Unable to determine the file format.

回答(4 个)

Image Analyst
Image Analyst 2016-3-26
Use load(), not imread().

Azzi Abdelmalek
Azzi Abdelmalek 2016-3-26
To read a mat file, use load function
im=load('brain')

Muhammad Usman Saleem
do not read .mat file with imread function.
Please give imread(brain.tif) or any other
format of image( like gpeg, jpg,geotif,tiff etc). Imread function do not read .mat file

mohd akmal masud
mohd akmal masud 2023-6-14
移动:Image Analyst 2023-6-14
load ('brain.mat');
instead of
imread('brain.mat');

类别

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