matlab图像处理问题,谁能解释一下这些语句啥意思,专业点的急求!!
%ConverttoRGBtoGRAYSCALEimage.nFrames=size(Im,4);fori=1:5%Im{i}=double(imread(['DATA/...
% Convert to RGB to GRAY SCALE image.
nFrames = size(Im,4);
for i = 1:5
%Im{i} = double(imread(['DATA/',int2str(i),'.jpg']));
Imzero = Im(:,:,:,i)+Imzero;
end
Imback = Imzero/5*255; 展开
nFrames = size(Im,4);
for i = 1:5
%Im{i} = double(imread(['DATA/',int2str(i),'.jpg']));
Imzero = Im(:,:,:,i)+Imzero;
end
Imback = Imzero/5*255; 展开
展开全部
% Convert to RGB to GRAY SCALE image.
nFrames = size(Im,4);%取得Im数据的第4维度的仿明数据个数
for i = 1:5
%读取DATA目枯团录下的1.jpg,2.jpg,...,5.jpg图像
%Im{i} =double(imread(['DATA/',int2str(i),'.jpg']));
Imzero = Im(:,:,:,i)+Imzero;%将这几幅图像进行累和
end
Imback = Imzero/5*255%取这几幅图像的平均值,作为备败告背景图像
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |