16.10.2024, 18:20
Since it's about an image: use an image editor and fill the line.
If it's a video, you should remove the problem before doing upscaling 2048x1556 seems like an upscaled resolution.
Looking at the separated YUV channels the scratch is only in the Y channel.
Share a sample and I can suggest something depending on the nature of the problem (depending on whether the line is static or not different approaches are possible)
Other than that:
a. you could write a custom script in which you:
1. downscale the source to a resolution where the line isn't visible
2. upscale to the original resolution
3. replace the line with the down- and upscaled version by masking it
b. with some masking something like Balanced Border, EdgeFixer or Bore might work.
c. if it's static: create a mask and use proPainter (or other inpainting methods), this will likely result in the best output, but is probably overkill at the current resolution.
Got a few ideas, but without an actual video they are probably not really helpful.
=> should be fixable, but will require some tweaking
Cu Selur
If it's a video, you should remove the problem before doing upscaling 2048x1556 seems like an upscaled resolution.
Looking at the separated YUV channels the scratch is only in the Y channel.
Share a sample and I can suggest something depending on the nature of the problem (depending on whether the line is static or not different approaches are possible)
Other than that:
a. you could write a custom script in which you:
1. downscale the source to a resolution where the line isn't visible
2. upscale to the original resolution
3. replace the line with the down- and upscaled version by masking it
b. with some masking something like Balanced Border, EdgeFixer or Bore might work.
c. if it's static: create a mask and use proPainter (or other inpainting methods), this will likely result in the best output, but is probably overkill at the current resolution.
Got a few ideas, but without an actual video they are probably not really helpful.
=> should be fixable, but will require some tweaking
Cu Selur