3 Replies - 5487 Views - Last Post: 04 July 2012 - 10:59 PM Rate Topic: -----

#1 blackflower  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-April 09

Gaussian lowpass filter

Post icon  Posted 22 April 2009 - 10:30 PM

hi
i need to make
"To perform the blurring process on Pear a rotationally symmetric Gaussian lowpass filter of size 20 with standard deviation 10 is used. One object in each image is blurred"
and this code i made it but doesnt work

%n= imread('peppers.png');
%H = fspecial('disk',5);
%blu = imfilter(n,H,'replicate');
%k=rgb2gray(blu);
%imwrite(im2uint8(k),'H:\Animals\a51.jpg');

i need image have tow object one is focue and other not or
the left side is blurring and the right is not plzzzzzzzzzz help
thanks

Is This A Good Question/Topic? 0
  • +

Replies To: Gaussian lowpass filter

#2 NickDMax  Icon User is offline

  • Can grep dead trees!
  • member icon

Reputation: 2250
  • View blog
  • Posts: 9,245
  • Joined: 18-February 07

Re: Gaussian lowpass filter

Posted 23 April 2009 - 10:01 PM

might help if you tell us what language you are using...
Was This Post Helpful? 0
  • +
  • -

#3 blackflower  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 11
  • Joined: 08-April 09

Re: Gaussian lowpass filter

Posted 24 April 2009 - 12:20 AM

I use matlab to blurryng imge frome left side or right side
Was This Post Helpful? 0
  • +
  • -

#4 ahsankietien  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-March 10

Re: Gaussian lowpass filter

Posted 04 July 2012 - 10:59 PM

View Postblackflower, on 22 April 2009 - 10:30 PM, said:

hi
i need to make
"To perform the blurring process on Pear a rotationally symmetric Gaussian lowpass filter of size 20 with standard deviation 10 is used. One object in each image is blurred"
and this code i made it but doesnt work

%n= imread('peppers.png');
%H = fspecial('disk',5);
%blu = imfilter(n,H,'replicate');
%k=rgb2gray(blu);
%imwrite(im2uint8(k),'H:\Animals\a51.jpg');

i need image have tow object one is focue and other not or
the left side is blurring and the right is not plzzzzzzzzzz help
thanks



in matlab this code works:


n= imread('pulverulenta_grayscale.jpg');
H = fspecial('disk',5);
blu = imfilter(n,H,'replicate');
imshow(blu);


make sure that gaussian low pass filter works for just garscale image.
if you have color image then first convert it into grayscale by using rgb2gray

Regards:
Syed Ahsan
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1