Added input parameters to bilateral filter pyrdown.