I am afraid that this operation has to be done manually because there is no software available to fulfill your needs because the data of one image is highly different from the one of another one. Of course, you can match pictures using colors, that is possible and can be done with an advanced image editor but the feature you are asking is somewhat impossible to achieve and the manual operation remains the single option.