On the behaviour of CNNs for Connected Component Detectors in the presence of Parameter Variations