Border noise detection

After having read

I wonder if there is a way to detect images that have border noise ( a flag maybe) ?
I have the same problem as @ graya above.

I want to be able to select those images to perform some subseting operation (if it’s impossible to get rid of the noise with the border noise removal tool). If You have any additional hints, feel free to share :wink: