I am looking for parabolas in some radar data. I am using the OpenCV Haar cascaded classifier. My positive images are 20×20 PNGs where all of the pixels are black, except for those that trace a parabolic shape–one parabola per positive image.
My question is this: will these positives train a classifier to look for black boxes with parabolas in them, or will they train a classifier to look for parabolic shapes?
Should I add a layer of medium value noise to my positive images, or should they be unrealistically crisp and high contrast?
Here is an example of the original data.

Here is an example of my data after I have performed simple edge detection using GIMP. The parabolic shapes are highlighted in the white boxes

Here is one of my positive images.

I figured out a way to do detect parabolas initially using the MatchTemplate method from OpenCV. At first, I was using the Python
cv, and latercv2libraries, but I had to make sure that my input images were 8-bit unsigned integer arrays. I eventually obtained a similar effect with less fuss usingscipy.signal.correlate2d( image, template, mode='same'). Themode='same'resizes the output to the size ofimage. When I was done I performed thresholding, using thenumpy.where()function, and opening and closing to eliminate salt and pepper noise using thescipy.ndimagemodule.Here’s the output, before thresholding.