R&D paths of pixel detectors for vertex tracking and radiation imaging