Page 1 of 1

Remove stationary vertical lines from footage

PostPosted: Fri Oct 05, 2018 10:35 am
by Avan Holzinger
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?

Re: Remove stationary vertical lines from footage

PostPosted: Fri Oct 05, 2018 11:36 am
by andrew.kirillov
You can try some morphology filters.

Also you can search this forum - the problem of straight lines was discussed few times.

Re: Remove stationary vertical lines from footage

PostPosted: Fri Oct 05, 2018 12:54 pm
by Avan Holzinger
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...

Re: Remove stationary vertical lines from footage

PostPosted: Fri Oct 05, 2018 2:27 pm
by Avan Holzinger
Quite discouraging. Currently I am trying with blobs.