I have a class for opening up an image and drawing circles. The entire code can be found here:
p1 and p2 store diametrically opposing points
p1
p2