Sorry, I have some experience in OpenCV but not much. I saw on the tutorial site the box filter example. What is a “large” kernel size relatively? 10?
What do you mean by subtract that from the data?
Then would I just run find contours? That’s how I was previously finding outliers.