Clear Filters
Clear Filters

How to Extract the HOG Feature values?

1 view (last 30 days)
Najwa Samlan
Najwa Samlan on 28 Sep 2019
Commented: Image Analyst on 2 Oct 2019
Hi. Please help me to solve this problem. I have two input which is a and b. The question is, how can I display HOG values for both image ? I want to display the values at the textbox called 'Purata' and 'Purata2'. The code are as below :-
function HOG_Callback(hObject, eventdata, handles)
a = getimage(handles.axes2)
b = getimage(handles.axes4)
[featureVector1,hogVisualization1] = extractHOGFeatures(a);
[featureVector2,hogVisualization2] = extractHOGFeatures(b);
axes(handles.axes16)
imshow(a);
hold on;
plot(hogVisualization1);
axes(handles.axes17)
imshow(b);
hold on;
plot(hogVisualization2);
set(handles.purata,'String',2)
set(handles.purata2,'String',2)

Answers (0)

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!