Device with an array or matrix of pyroelectric and/or piezoelectric semicylindrical transducers in thin film