I am performing the following steps:
- I insert a mark in an original image
img1to obtain a watermarked imageimg2. - I crop the the watermarked image to obtain
img3. - I want to crop a particular part of the original image
img1to obtain the same part likeimg3.
My question is how to find where the cropped part is located in the orignal image?
You could use cross-correlation http://www.mathworks.ch/ch/help/images/ref/normxcorr2.html
Here is an example http://www.mathworks.ch/products/demos/image/cross_correlation/imreg.html
If the cropped image has been resized I think your problem is more similar to this one http://thydzik.com/matlab-scaled-image-normalized-cross-correlation/