1. An image processing apparatus comprising: at least one processor; and a memory storing instructions that, when executed, cause the at least one processor to: acquire an image; divide the acquired image into a plurality of partial regions within an image frame of the acquired image; extract one or more pieces of similar image data from each of the plurality of divided partial regions; determine a target region, in the image frame of the acquired image, including partial regions having a relationship with each other indicative of a common object, based on information about a relationship of the acquired image the extracted image data; and collate whether a plurality of the regions, in a plurality of the acquired images, including partial regions having a relationship with each other is related to each other based on the information used for determining the relative positional relationship between the plurality of the partial regions.