resolution, thres params