1. An image processing apparatus comprising: an obtaining unit configured to obtain an image; a specifying unit configured to specify at least one pixel on an edge of the image; a tracking unit configured to track pixels that are similar to the at least one pixel, among peripheral pixels around the at least one pixel; and an estimating unit configured to estimate, as a region of interest, a region other than a region consisting of the pixels tracked by the tracking unit.