Getting x y value from a bitmap image

hi,
i have a bitmap(black and green), and
i would like to get x y value of the top left conner of the green area(See atached jpg). is this possible with as?