Drawing Circles around objects
Good evening,
I got a good photographic result of my flower objects and now I want to draw one hollow circle (with the minimum radius) around each of the blackend objects that represent the flowers (see the right picture attached hereby).
Data is saved into the array only when the pixel is black. The main arrays on my program are: array for heigt and array for width.
The way data is saved into my arrays does not let me differ between the black objects as a whole - data recorded for an object is scattered inside the array on a basis of width sequence (with incrementing the height as a row is ended).
The left picture shows a sequence of blue circles drawn around each blackend pixel (not per object).
I would be happy if you could suggest me a solution for the above task, as mentioned on the first paragraph above.
Best regards,
Shelly