The "EGG" task
-
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
-
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
Sounds like a school question. You'll never learn by immediately hoping on the forums and asking such a broad question. Instead start writing code and when you hit smaller stumbling blocks along the way, then we can help! :)
"Half this game is ninety percent mental." - Yogi Berra If you can read thank a teacher, if you can read in English, thank a Marine.
-
Hello comrades !!! I need your help. Here is what we have: We have a jpg image that contains gray background and a lot of white eggs on it. We need to get the number of eggs and the size of each eggs. (i think in pixels). How can i do it ? The hardest problem is to get the whole egg (To mark the edges) and smart divide screen into some parts, for easiest count. Thanks for help.
One nation - underground
Interesting problem. Probably a lot easier than you think, however. Start with my image processing articles, for how to access the pixels of a bitmap. Then, just think it through.
Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )