I may have overcomplicated things here. Auto-trace is not an option.
I want the center of the red circle to be placed at the edge of the black shape. I believe this can be achieved by ‘sampleImage’ to determine the luminosity of the black layer and applying to the position of red circle. Hope this makes sense.