I have footage shot from a helicopter and I would like to remove the rotor blades. Since the blades are so fast it seems feasible to use the pixel values from the next frame (usually the sky) wherever the rotor appears. So logically, whichever pixel is brighter in frame N and N+1 should be the one to use. I'm using ffmpeg to attempt this and I've tried using "addition" and "Lighten" but the blades are still visible. Lighten does reduce the blades, but I'd really like them to vanish completely.
I've tried using and expression to select the brighter of the two pixels, but it's not giving the results I expected.
The result is not perfect, at least not what I'm expecting. I can see a sort of bluish tinge where the shadow has been replaced, but its not the same colour as the pixels I'm expecting. I'm guessing it might be something to do with how the chroma and luma planes are stored, but the blend function doesn't give you that level of detail. There is also a lut2 command, but that doesn't really look like it would work for this.
If my basic idea correct, or have I overlooked something?