MATLAB Answers


How to use sliding window technique to detect one single line

Asked by IP student ;( on 18 Apr 2019
Latest activity Answered by Walter Roberson
on 19 Apr 2019
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??


Okay from next time I'll do the same
Get them with multiple windows and arrange them into a line.....
I don't know about sliding window.can you please provide me the code???

Sign in to comment.

1 Answer

Answer by 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.


Sign in to comment.