Warning:Image is too big to fit on screen; displaying at 67% MATLAB 缩小后图像显示是2个小的图并行clear all;I1=imread('D:\我的文档\MATLAB\B08021419\实验相关\标准图像\crowd512x512.bmp');%读入原始图像[i,j]=size(I1);% I2=z
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/23 12:56:50
Warning:Image is too big to fit on screen; displaying at 67% MATLAB 缩小后图像显示是2个小的图并行clear all;I1=imread('D:\我的文档\MATLAB\B08021419\实验相关\标准图像\crowd512x512.bmp');%读入原始图像[i,j]=size(I1);% I2=z
Warning:Image is too big to fit on screen; displaying at 67% MATLAB 缩小后图像显示是2个小的图并行
clear all;
I1=imread('D:\我的文档\MATLAB\B08021419\实验相关\标准图像\crowd512x512.bmp');%读入原始图像
[i,j]=size(I1);
% I2=zeros(256,256);
figure,imshow(I1);title('sourse') % 原图
for m=1:i*0.5
for n=1:j*0.5
I2(m,n)=I1(m*2,n*2); % 间隔取点
end
end
figure,imshow(uint8(I2)); title('small') % 显示取点后的图 (四分之一)
Warning:Image is too big to fit on screen; displaying at 67% MATLAB 缩小后图像显示是2个小的图并行clear all;I1=imread('D:\我的文档\MATLAB\B08021419\实验相关\标准图像\crowd512x512.bmp');%读入原始图像[i,j]=size(I1);% I2=z
只是显示问题,因为如果像素点数太多,而你的figure显示图片位置的大小是固定的.也就是说这个区域的像素是固定的.
这是什么问题?