Using Java, How do I check using orignal image that if shape01(circle) exists in image02(square) after converting both into binary images? : I am newbie to openCV and JAVA. It is been two days I am searching for the solutions continuously.
I want to check form this
[Image][1] that red circle exists inside the square after convert getting following binary images.
See Binary Images of [circle and square][1]

Please help me ASAP. Thanks in advance.


  [1]: http://i.stack.imgur.com/WrZXq.png