Description: 這是一個可以自動尋找图像中的長方形, 正方形, 圓形, 菱形的程式-1- Read the RGB (colored) image in from user.
2- Convert image from (RGB) colored to gray image.
3- Threshold the image (convert gray image to binary image).
4- Invert the binary image (in order to speed up the time of processing).
5- Find the boundaries concentrate.
6- Determine shapes properties (ratio of dimensions, roundness).
7- Classify shapes according to its properties. Platform: |
Size: 51200 |
Author:tom |
Hits: