Abstract: Optical flow is calculated for each patch on the basis of two images, and then a region having low confidence and a region having high confidence are separated depending on confidence of the optical flow, and the optical flow in the region having low confidence is interpolated using the optical flow in its surrounding regions.