12345678910111213141516171819202122232425262728293031323334353637 |
- function compareHogsVisually ( hog1, hog2, idxDimsToShow )
- if ( nargin < 3 )
- idxDimsToShow = 1:size(hog1,3);
- end
-
-
- for i=1:length(idxDimsToShow)
-
-
- fig1=figure;
-
- s_titleHoG = sprintf('Dim %d', idxDimsToShow(i) );
- set ( fig1, 'name', s_titleHoG);
-
-
- imagesc( (hog1(:,:,idxDimsToShow(i) ) - hog2(:,:, idxDimsToShow(i) )));
-
-
- colorbar;
-
- pause;
-
- close(fig1);
- end
- end
|