Detection of pixels with high connectivity Greetings guys, I'm trying to detect some scratches over metal bars This is