4
$\begingroup$

I've been using Open Broadcaster to stream the infrared HDMI output from a 4K Sony video camera. It works pretty well, but one thing that I'm finding a little annoying for image analysis is the presence of grayscale salt and pepper noise in the footage.

Does anyone know if there's a way I could reduce this? I've been trying to change the video bitrate (currently at 40,000), but are there potentially other things I could do (such as play with the downscale filter)? Thanks so much.

$\endgroup$

1 Answer 1

1
$\begingroup$

Usually, Salt and Pepper Noise is done using Median Filter.
There are variations of the Non Local Means to deal with Salt and Pepper but it might be overkill so I'd start with the above.

The tricky thing is to take advantage of having a Video and not just a static single image.
Hence you can also apply the filter in a temporal form.
If you use small kernel you might be able to pull it as it is.
For larger kernels you might need to use Optical Flow to estimate which parts of the frame should be compared.

$\endgroup$
2
  • $\begingroup$ Thanks a lot for the advice, I was hoping there might be something I could change with the bitrate of the stream or something that could potentially help before I have to apply a filter during processing. $\endgroup$ Dec 22, 2016 at 0:11
  • $\begingroup$ @JackSimpson, could you please mark my answer? $\endgroup$
    – Royi
    Sep 19, 2021 at 5:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.