Luminescence sensing and imaging: General discussion