I want to understand how to read this code

4 次查看(过去 30 天)
A = xlsread('experiment.xlsx','A','A12:XP523');
Tmin = 24;
Tmax = 37;
save('fields','Tmin','Tmax');
IA = im2uint16(mat2gray(A,[Tmin Tmax]));
imwrite(IA,'A.tiff', 'tiff');
This is total program. I have image A and excel file experiment.xlsx. experiment.xlsx have 523 rows and A-XP columns. Now I want to know,
(mat2gray(A, [amin amax]) function means convert matrix A into image and Tmin, Tmax are the range of matrix A minimum to A maximum I am right? matrix A mean sheet in the excel file having all column (A-XP Columss and 523 rows) and rows?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by