Rank: 107448 based on 0 downloads (last 30 days) and 0 file submitted
photo

Yuval Aviel

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Yuval View all
Updated File Comments Rating
06 Apr 2014 Non-wait detection of keyboard input (including MEX implementation) Returns last key pressed in command window without having to explicitly wait for input. M-file & MEX Author: Amanda

unfortunately, there is an issue with kbhit.m on version 2014a;

after kbhit('init'), I get the following error message for every keystroke on the command window:

The name 'Userdata' is not an accessible property for an instance of class
'com.mathworks.mde.cmdwin.CmdWin'.

the error message stops after kbhit('stop');

can you please fix it??

thanks,
Yuval.

30 Mar 2014 Histograms of Oriented Gradients mex function for calculating histograms of (oriented) gradients (Dalal & Triggs CVPR 2005). Author: Leo

the first option is the correct one:
histImg = reshape(hog, [Params(1) nCells nCells]);

24 Mar 2014 Histograms of Oriented Gradients mex function for calculating histograms of (oriented) gradients (Dalal & Triggs CVPR 2005). Author: Leo

Hi Leo, I'd like to repeat victorp's unanswered question:
"could you tell me how to fold the output vector back (to 3D)?"

in particular, considering the following code:

Params = [9 4 1 0 0.2]; hogs = HoG(Image,Params);
nCells = sqrt(length(hogs)/Params[1]) % (assuming square Image)

should it be:
histImg = reshape(hog, [Params(1) nCells nCells]);

or

histImg = reshape(hog, [nCells nCells Params(1)]);

??
Thanks,
yuval

16 May 2010 Exportfig Functions for exporting figures. Author: Ben Hinkle

minor bug: when xlabels is a cell array, str2num(xlabs(1,:)), line 1006, triggers an exception.
Here is a suggested fix:
So line 1007:
((str2num(xlabs(1,:)) ~= xticks(1)) | ...
should be:
(iscell(xlabs) || (str2num(xlabs(1,:)) ~= xticks(1)) | ...

should probably be the same for other axes (y and z).

27 Apr 2010 KLDIV Kullback-Leibler or Jensen-Shannon divergence between two distributions. Author: David Fass

Bao: See "A 'log of zero' warning will be thrown for zero-valued probabilities. " in the text above.

Contact us