AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Remove stationary vertical lines from footage

The forum is to discuss topics related to different areas of image processing and computer vision.

Remove stationary vertical lines from footage

Postby Avan Holzinger » Fri Oct 05, 2018 10:35 am

I have those stationary stripes on a recording in overexposed areas in video footage.
Image
How could I clean these areas by either blurring those specific parts or replacing every stripe with the surrounding color?
Avan Holzinger
 
Posts: 5
Joined: Fri Oct 05, 2018 10:22 am

Re: Remove stationary vertical lines from footage

Postby andrew.kirillov » Fri Oct 05, 2018 11:36 am

You can try some morphology filters.

Also you can search this forum - the problem of straight lines was discussed few times.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3395
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: Remove stationary vertical lines from footage

Postby Avan Holzinger » Fri Oct 05, 2018 12:54 pm

Thanks andrew. Which keywords lead me to the threads mentioned?

I tried the

Code: Select all
            Erosion filter = new Erosion();
            // apply the filter
            filter.Apply(image);


even

Code: Select all
            short[,] se = new short[,] {
                { 0, 1, 0 },
                {  0,  0,  0 },
                { 1, 1, 1 }
            };

            Erosion filter = new Erosion(se);
            // apply the filter
            filter.Apply(image);


Yet it seems to do nothing to the image...
Avan Holzinger
 
Posts: 5
Joined: Fri Oct 05, 2018 10:22 am

Re: Remove stationary vertical lines from footage

Postby Avan Holzinger » Fri Oct 05, 2018 2:27 pm

Quite discouraging. Currently I am trying with blobs.
Avan Holzinger
 
Posts: 5
Joined: Fri Oct 05, 2018 10:22 am




Return to Image Processing and Computer Vision