File list (Check if you may need any files):
Rectangular Detection\choose.m
.....................\detection.m
.....................\diameter.m
.....................\hough.m
.....................\houghlines.m
.....................\houghpixels.m
.....................\maxmin.m
.....................\result image of test1 image
.....................\...........................\find all target center.bmp
.....................\...........................\output of test1.bmp
.....................\...........................\test1.bmp
.....................\...........................\the 11th target rectangle houghpeaks figure.bmp
.....................\...........................\the 11th target rectangle.bmp
.....................\...........................\the 12th target rectangle houghpeaks figure.bmp
.....................\...........................\the 12th target rectangle.bmp
.....................\...........................\the bw image.bmp
.....................\...........................\the egde of the BW image.bmp
.....................\...........................\the image by open operation.bmp
.....................\...........................\the original image.bmp
.....................\...........................\ts test1.txt
.....................\result image of test2 image
.....................\...........................\figure1 input image.bmp
.....................\...........................\figure2 BW image.bmp
.....................\...........................\figure20 斜矩形角度.bmp
.....................\...........................\figure21 斜矩形直线.bmp
.....................\...........................\figure22 三角形角度.bmp
.....................\...........................\figure23 三角形直线.bmp
.....................\...........................\figure24 六边形角度.bmp
.....................\...........................\figure25 六边形直线.bmp
.....................\...........................\figure29 斜正方形直线.bmp
.....................\...........................\figure3 image byopen operation.bmp
.....................\...........................\figure30 斜正方形角度.bmp
.....................\...........................\figure32 六个矩形.bmp
.....................\...........................\figure4找边界.bmp
.....................\...........................\figure5 找中心点.bmp
.....................\...........................\figure6 矩形角度.bmp
.....................\...........................\figure7 矩形直线.bmp
.....................\...........................\test2.bmp
.....................\...........................\ts test2.txt
.....................\result image of test3 image
.....................\...........................\figure1 input image.fig
.....................\...........................\figure1.bmp
.....................\...........................\figure14 矩形角度.bmp
.....................\...........................\figure14 矩形角度.fig
.....................\...........................\figure15 矩形角度.bmp
.....................\...........................\figure15 矩形角度.fig
.....................\...........................\figure16 斜矩形角度.bmp
.....................\...........................\figure16 斜矩形角度.fig
.....................\...........................\figure17 斜矩形直线.bmp
.....................\...........................\figure17 斜矩形直线.fig
.....................\...........................\figure2 BW image.fig
.....................\...........................\figure2 BW image.jpg
.....................\...........................\figure24 五边形角度.bmp
.....................\...........................\figure24 五边形角度.fig
.....................\...........................\figure25 五边形直线.bmp
.....................\...........................\figure25 五边形直线.fig
.....................\...........................\figure3 image by open operation.bmp
.....................\...........................\figure3 image by open operation.fig
.....................\...........................\figure32 there 5 rectangles.bmp
.....................\...........................\figure32 the