Sliding window algorithm when we have an image 640X480P

Dear Community,
I would like to take your advice about silding window techique, I have a binary image with 640 x 480 Pixels and I want to use silding window with 3X3,
I attched image with accpeted result, let me know if someone deal this kind of problem,
Please have a look in images
Thank in advace
SS
Expecpted image below:
Original Image:

2 Comments

Sliding window on white tracks (white bar) only or whole image form left to right?
Hey,
I need sliding window on white bar, As you saw there is an image with white lines and red block, I need quite similer, The red rectangle box size does not metter at this momen. I just need to understand the concept.
Thank you so much for your fast response
SS

Sign in to comment.

Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 28 Oct 2019

Commented:

on 28 Oct 2019

Community Treasure Hunt

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

Start Hunting!