A bilateral reference network for high-resolution salient object detection and matting with dynamic input size support.