How to use sliding window technique to detect one single line

6 次查看(过去 30 天)
I've a text documents and I've detected objects using bounding boxes. Now I want to join the bounding boxes of a line. So how to use the sliding window technique for this??
  8 个评论
KSSV
KSSV 2019-4-18
Get them with multiple windows and arrange them into a line.....
IP student ;(
IP student ;( 2019-4-18
@kssv
I don't know about sliding window.can you please provide me the code???

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2019-4-19
Use nlfilter() to apply nonlinear algorithms to sliding windows.
That said, there are some algorithms that can be much more efficiently calculated by using conv2() or morphological operations.

类别

Help CenterFile Exchange 中查找有关 Graphics Object Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by