MATLAB: Uses the bagOfFeatures the color information of an image

bagoffeaturescolorimagemachine learningmatlab function

Uses the bagOfFeatures function the color information of an image ? Or is the function working in the grey space ?

Best Answer

Hello Lukas,
By default, color features will not be included by the bagOfFeatures function. However, you can specify a custom extractor to check for color as a global feature of the image. Please see the documentation page below for more information on creating a custom extractor:
https://www.mathworks.com/help/vision/ug/create-a-custom-feature-extractor.html