I have a noisy dataset (a stack of images) which films dim particles moving about some really bright artefacts (which are immobilized). I would like to somehow remove the immobilized artefacts from the images by applying some sort of bandpass filter wherein only pixels within a specific range are converted to white pixels and everything else is masked black. Can someone point me in the right direction, on how to do this in
Python/Open-CV? Thanks in advance!