How to use sliding window technique to detect one single line

6 views (last 30 days)
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 Comments
KSSV
KSSV on 18 Apr 2019
Get them with multiple windows and arrange them into a line.....
IP student ;(
IP student ;( on 18 Apr 2019
@kssv
I don't know about sliding window.can you please provide me the code???

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 19 Apr 2019
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.

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!