资 源 简 介
边界方向的直方图统计。采用canny算法实现。
测试图片说明:(图像路径名请在main函数中AnsiString name="1.bmp" 中设定)
1.bmp、2.bmp用来测试尺度变换后图像的识别;
3.bmp、4.bmp用来测试尺度变换后图像的识别;
2.bmp、2_shift.bmp用来测试平移后图像的识别。
实现输出灰度图、平滑图、边缘图以及双阈值处理后的边缘图;
运行后文件夹应该有Image1.bmp,Image2.bmp,Image3.bmp,Image4.bmp;
实现输出灰度图、平滑图、边缘图以及双阈值处理后的边缘图;
边界直方图数据和归一化后直方图数据分别保存在histogram.txt和NormalHistogram.txt中。-Border direction histogram statistics. Canny algorithm used. Testing Photo caption: (image path name in the main function AnsiString name = 1.bmp set) 1.bmp, 2.bmp used to test scaling image identification 3.bmp, 4.bmp used to test After scaling the image identification 2.bmp, 2_shift.bmp used to test post-translational image recognition. Realize the output grayscale, smooth map, edge map, as well as dual-threshold edge map after the treatment running folder should have Image1.bmp, Image2.bmp, Image3.bmp, Image4.bmp realize grayscale output, smooth map, edge map, as well as dual-threshold edge map after the treatment border histogram data an