add rectangle filtering for joint birateral and weighted joint birateral filter