Facebook
From Morose Wolf, 9 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 721
  1. image = imresize(imread('flowersonih35.bmp'),[256,256]);
  2. h = 1-fspecial('gaussian',256,70)./max(max(fspecial('gaussian',256,70)));
  3. z = ones(256,256);
  4. h1(:,:,1) = h;
  5. h1(:,:,2) = h;
  6. h1(:,:,3) = h;
  7. subplot(2,3,1)
  8. imshow(uint8(h1.*double(image)))