how to find 41*41 patch around a keypoint in an image ?

4 ビュー (過去 30 日間)
pankaj chouthmal
pankaj chouthmal 2014 年 1 月 26 日
コメント済み: pankaj chouthmal 2014 年 1 月 27 日
what is patch ? how to extract 41*41 patch around a key point (x,y) in an image ?

採用された回答

Image Analyst
Image Analyst 2014 年 1 月 26 日
patch() is a function that overlays a colored polygon over an image or a plot/graph. Sounds like you don't want or need that. You want to extract a subimage centered at row=y, column = x, like this:
subImage = grayImage(y-20:y+20, x-20:x+20);
  1 件のコメント
pankaj chouthmal
pankaj chouthmal 2014 年 1 月 27 日
Thanks for support :) it worked :)

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by