Skip to content

Commit

Permalink
add missing libs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeffsan committed Feb 28, 2018
1 parent b512d01 commit 5112e20
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tracking/getP.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function P = getP(histogram, h, w, bin_indices, grayscale_sequence)
%GETP computes the scores given the histogram
% query the hist for the probability of each pixel
if grayscale_sequence
hist_indices = bin_indices;
else
hist_indices = sub2ind(size(histogram), bin_indices(:,1), bin_indices(:,2), bin_indices(:,3));
end

% shape it as a matrix
P = reshape(histogram(hist_indices), h, w);
end
Binary file added tracking/gradientMex.mexw64
Binary file not shown.
Binary file added tracking/mexResize.mexw64
Binary file not shown.
Binary file added tracking/opencv_core242.dll
Binary file not shown.
Binary file added tracking/opencv_imgproc242.dll
Binary file not shown.

0 comments on commit 5112e20

Please sign in to comment.