Added this-> in front of get_intensity( intensity, pimap, ximap );