フィルターのクリア

Could someone give me MATLAB code for slide window over an image ?

1 回表示 (過去 30 日間)
FARHAD
FARHAD 2014 年 5 月 13 日
コメント済み: Image Analyst 2014 年 5 月 13 日
Hi, I want to slide window over an image from left to right with different scales and positions. Could someone give me MATLAB code to do it? Thanks in advance.

回答 (1 件)

Image Analyst
Image Analyst 2014 年 5 月 13 日
You can do it with conv() or imfilter() but the window must stay the same as it slides along. You can do this
out = conv2(double(in), windowValues);
out = imfilter(in, windowValues);
You might be able to change the window size on the fly if you use blockproc, nlfilter, or do it yourself with nested for loops.
  2 件のコメント
FARHAD
FARHAD 2014 年 5 月 13 日
Thanks. I am detecting car in my detection task. So I need to calculate the position of sliding window and it's detection score. How about the MATLAB code for position and Detection score?
Image Analyst
Image Analyst 2014 年 5 月 13 日
Never heard of it. I don't have code for that. Check the Computer Vision System Toolbox, which has tracking capabilities.

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

カテゴリ

Help Center および File ExchangeImage Processing and Computer Vision についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by