Latent-Class Hough Forests for 3D object detection and pose estimation of rigid objects