How find the ellipse and circle contours in pictue?

Hy everyone. I have problem, how can I find the countors on picture by using the opencv java? Where I can read the documentation about this, and meybe find some examples?

we have a nice contours tutorial here, including java code !