Can I fix the purple lines in this image in capture processing on my Pi HQ Camera?
When shooting long exposures at night, my Pi HQ Camera has purple line artefacts where the lightning strikes, or there is extreme over exposure. This is not something I can avoid, as I do not know if there is lightning and ideally, the sensor processing would better handle this. The sensor in question is a Sony IMX477 sensor and the software controls for night exposures are manual shutter speed, digital and analogue gain settings.
For reference, please see the example image (of which I have many more). A one-off could be repaired without too much fuss, but having dozens is a pain.