Development of HPDs for applications in physics and medical imaging