In this paper, a learning based salient object detection method for RGBD images is introduced. With the assistance of depth information, the silhouette features of an object can be retrieved primarily, and it can lead to better detection of salient objects. In addition, many recent works still rely on some image post-processing methods to improve their performance. We develop a more efficient end-to-end model with a modified design of loss function used in our training network. The design of the new loss function is to increase the spatial coherence of detected salient objects. From the evaluation results, the proposed approach shows good performance compared with the methods that are considered to be state-of-the-art.