How to use sliding window technique to detect one single line

5 vues (au cours des 30 derniers jours)
IP student ;(
IP student ;( le 18 Avr 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??
  8 commentaires
KSSV
KSSV le 18 Avr 2019
Get them with multiple windows and arrange them into a line.....
IP student ;(
IP student ;( le 18 Avr 2019
@kssv
I don't know about sliding window.can you please provide me the code???

Connectez-vous pour commenter.

Réponses (1)

Walter Roberson
Walter Roberson le 19 Avr 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.

Community Treasure Hunt

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

Start Hunting!

Translated by