HOG feature extraction cell size
显示 更早的评论
Hi
I use hog feature extraction in images to detect the horizon line. Default cell size for hog feature extraction is 8x8. When I use 16x16 I get better result of the accuracy of identifying horizon line. But in some images 8x8 is working better. However in general 16x16 is more successful. I didn't understand why 8x8 is working better in some images while 16x16 is more successful in general? What is the effectiveness of cell size in hog feature extraction?
Thank you
回答(1 个)
Amy
2017-12-21
0 个投票
From the documentation for extractHOGFeatures: To capture large-scale spatial information, increase the cell size. When you increase the cell size, you may lose small-scale detail
There is not one optimal cell size. The best size depends on your data.
类别
在 帮助中心 和 File Exchange 中查找有关 Text Detection and Recognition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!