Normalize grayscale for HOG feature extraction

조회 수: 1 (최근 30일)
Mark n Jill
Mark n Jill 2018년 7월 10일
답변: Gautam 2025년 1월 9일
Hello, i'm working on image recognition project. My feature extraction will be using HOG. How important is it to normalize grayscale for HOG feature extraction? Is it enough for using rgb2gray only?
Thank you

답변 (1개)

Gautam
Gautam 2025년 1월 9일
Hello Mark,
Normalizing your images is an important step that can affect the quality of the extracted features. Normalizing the grayscale values ensures that the input to the HOG algorithm is consistent across different images. It also helps mitigate the effects of contrast and illumination differences.
Moreover, HOG is sensitive to edges and gradients, and normalization can help ensure that these features are not overshadowed by variations in lighting.
Using “rgb2gray”, you can convert an RGB image to grayscale, but it does not perform normalization.

Community Treasure Hunt

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

Start Hunting!

Translated by