What is the difference between splitting an image into overlapping and non-overlapping blocks?

1 回表示 (過去 30 日間)
I'm new to image processing with matlab and I'm currently working on splitting an image into non-overlapping blocks but I've came across questions on overlapping blocks recently. May i know what is the difference between splitting an image into overlapping blocks and non-overlapping blocks? Is there any visualization i can see to distinguish the two?
  2 件のコメント
Adam
Adam 2019 年 8 月 6 日
It really is exactly as the description suggests. In one case the blocks have no overlap so it's like taking a pair of scissors (or something rather more controllable in a straight line!) to your image and cutting it up into pieces that you can put back together to get no more, no less than the entire image.
Blocks with overlap mean that there is an overlap of the image data between neighbouring blocks so that data is repeated. For example, if you used a block size of 4 and an overlap of 2 then your first block would take indices 1:4 in x and y, your 2nd block would take 3:6, your 3rd block would take 5:8, etc. So in this case you will have twice as many blocks as with no overlap as you have a whole extra block between each pair that includes half of one and half of the other. You can have any overlap though, from 1 up to the block size - 1.
Stewart Tan
Stewart Tan 2019 年 8 月 6 日
Thank you for the explanation! Understood.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeComputer Vision with Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by