Image patching for computing Guassian Kernel

2 ビュー (過去 30 日間)
Algorithms Analyst
Algorithms Analyst 2013 年 2 月 8 日
Hi every one
I want to patch the image for Spatial Guassian kernel calculation.with a oatch size 12x12.How can I do it
image=imread('lib.jpg');
patchsize=12;
image=patch(image,patchsize);

採用された回答

Image Analyst
Image Analyst 2013 年 2 月 8 日
I don't know what you want to do, so I can't give an answer. (Try to explain better - upload a diagram or image if you think that would help explain)
But I do know that you should not use "image" as the name of your variable because you'll destroy the built-in function by that name.
  17 件のコメント
Algorithms Analyst
Algorithms Analyst 2013 年 2 月 12 日
For more explanation let us suppose that I have a UV image in YUV color space.and I want to compute du=Uk-UJj and dv=Dk-Dj I think that in the paper k and j are two different colors if I am not wrong.Thanks
Algorithms Analyst
Algorithms Analyst 2013 年 2 月 12 日
Can any one help me how to compute color gaussian kernel?

サインインしてコメントする。

その他の回答 (1 件)

Thorsten
Thorsten 2013 年 2 月 11 日
編集済み: Thorsten 2013 年 2 月 11 日
I = im2double(imread('cameraman.tif'));
Gsk = fspecial('gaussian',[12 12],3);
Idxy = I - imfilter(I, Gsk);
  1 件のコメント
Algorithms Analyst
Algorithms Analyst 2013 年 2 月 12 日
Image Analyst is right as he described above.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by