Bound states in the continuum in strong-coupling and weak-coupling regimes under the cylinder – ring transition