Reducing Size of image Algorithm in Matlab

버전 1.0.0.0 (35.6 KB) 작성자: ABHILASH SINGH
Algorithm
다운로드 수: 28
업데이트 날짜: 2018/3/13

라이선스 보기

%% Algorithm for minimizing the size of the object
clc
clear all
a=imread('3.png');
imshow(a)
[r,c]=size(a);
i=1;j=1;
c=c/3;
b=zeros(floor(r/2),floor(c/2));
for x=1:2:r
for y=1:2:c
b(i,j)=a(x,y);
j=j+1;
end
i=i+1;
j=1;

end
figure
imshow(b/255),colormap(colorcube)
figure
imagesc(b/255),colormap(gray)
impixelinfo

인용 양식

ABHILASH SINGH (2024). Reducing Size of image Algorithm in Matlab (https://www.mathworks.com/matlabcentral/fileexchange/66470-reducing-size-of-image-algorithm-in-matlab), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2017b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0