i want to generate four octaves of the original image. Each octave's image size is half the previous one. Within an octave, images are progressively blurred using the Gaussian Blur operator? kindly please help me.

조회 수: 2 (최근 30일)
clc;clear all;close all;
I=imread('parrot.jpg');
% figure;
% Im=imshow(uint8(I));
J = imresize(I, 0.5);
k=0;
sig=2;
for c=1:4;
J = imresize(I, 0.5);
for r=1:5;
k=k+2;
G = fspecial('gaussian',[5 5],sig*k);
Ig = imfilter(I,G,'same');
figure;
imshow(Ig);
end
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Octave에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by