Finding shapes using java
Author |
Message |
allenh98
|
Posted: Sat Sep 27, 2008 3:37 pm Post subject: Finding shapes using java |
|
|
Hello all, my assignment is to write a program that can depict shapes from pictures. So far, my plan is to average all the pixels with the pixels around them 1 by 1, therefore bluring the picture. Then, i will compare the new picture to the old picture. Any pixels that are not equal, means that it is a border. I then draw a white outline around the shapes. Any help as to how to actually determine the shapes? |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Euphoracle
![](http://compsci.ca/v3/uploads/user_avatars/11170373664bf5f25f636f1.png)
|
Posted: Sun Sep 28, 2008 11:11 am Post subject: RE:Finding shapes using java |
|
|
Connect the dots and count the sides? 3=triangle, etc? |
|
|
|
|
![](images/spacer.gif) |
|
|