HOG feature extraction cell size

11 visualizzazioni (ultimi 30 giorni)
Elf
Elf il 13 Dic 2017
Risposto: Amy il 21 Dic 2017
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

Risposte (1)

Amy
Amy il 21 Dic 2017
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.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by