フィルターのクリア

How to divide an image into blocks(non overlapping)?

1 回表示 (過去 30 日間)
Vinay Kumar
Vinay Kumar 2014 年 10 月 1 日
コメント済み: Vinay Kumar 2014 年 10 月 15 日
I'm facing a problem in dividing an image into non overlapping blocks. I am supposed to take a Fourier transform of the divided blocks.can i use "blockproc" to do this?
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 10 月 1 日
編集済み: Geoff Hayes 2014 年 10 月 1 日
Yes, you can use blockproc to do this. See the examples at blockproc for details on how to do this.
Note that you will need the Image Processing Toolbox to use this function.
Vinay Kumar
Vinay Kumar 2014 年 10 月 15 日
Thank you Geoff Hayes

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

採用された回答

Image Analyst
Image Analyst 2014 年 10 月 1 日
You can use mat2cell() or indexing(). Both of these methods are shown in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_do_I_split_an_image_into_non-overlapping_blocks.3F
If you also want to call a function on each block, then you can use blockproc() as illustrated in my two attached demos.
  1 件のコメント
Vinay Kumar
Vinay Kumar 2014 年 10 月 15 日
Thank you Image Analyst

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by