Open an image file. You can use 3 circles annulus regions tu calculate photometry. Pixel inside the smallest circle must be star pixel. Pixel between the two largest circles will be sky pixel
JS9 on github by Eric Mandel
Plugins on github