The problem of in vivo photoluminescence diagnostics of the tissues accessible by endoscopes is discussed. The spectral imaging module attachable to conventional rigid and flexible medical endoscopes is developed and described. It is based on a double acousto-optical tunable filter (AOTF) and a spec