Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi guys .
i succeeded to seprate shapes with specific color (black) in image ...
i used EuclideanColorFiltering in my project .
here this is my code :


C#
EuclideanColorFiltering filter = new EuclideanColorFiltering();



C#
Bitmap CopyImage = null;
          filter.CenterColor = new RGB(0, 0, 0);
          filter.FillColor = new RGB(169, 169, 169);
          filter.Radius = 150;
          CopyImage = image;
          // apply the filter
          filter.ApplyInPlace(CopyImage);


it works ok
now i want to draw a green line around of the black shapes ,,,
how can i do this ?
Posted
Updated 5-Oct-14 0:53am
Comments
BillWoodruff 5-Oct-14 7:47am    
Why not ask on the AForge forums ?

http://www.aforgenet.com/forum/

1 solution

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900