I have 2 images, say smallerImage and largerImage. Now, I want to check that does smallerImage is part(or subimage) of largerImage or not. I am not getting how to check that. I want to so this whole stuff in iOS. After gogling, i got that using openCV library is best library to use for such a stuff. But i am not getting how to use openCV library to perform my task.
In Short, i want to know about,
1) What are the different techniques/methods/algorithms to find/check subimage in larger image
2) How to use openCV Library to perform (1).(i.e. how to use it to check subimage in larger image)
You can use OpennCV Template Matching algorithm..
please try it..
download opencv2.framework from https://github.com/Fl0p/OpenCV-iOS
download UIImage+OpenCV from https://github.com/aptogo/OpenCVForiPhone/tree/master/OpenCVClient
import files opencv2/nonfree/nonfree.hpp, opencv2/highgui/highgui.hpp, opencv2/calib3d/calib3d.hpp, UIImage+OpenCV.h
use this function for matching images.