Unfortunately the camera doesn't output raw images and it seems to do some processing before outputting an image.
As a result of this, the lines are not exactly straight and the horizontal offset can vary a bit depending on what zoom factor is used.

Does anybody have an idea how to fix the images the camera outputs ?
I tried manually in Photoshop with a clone brush but that's a lot of work.
Ideal would be if an application could detect the brighter line and replace it with interpolated pixels from the left and right.
Unfortunately I have no idea how to detect the line.

The black images above are clear but in a normal photo, the line can be subtle and is mainly visible in parts of the image which are dark.