Switch branches/tags
Nothing to show
Find file History
Permalink
..
Failed to load latest commit information.
LICENSE.txt Addition of mean shift module, that also supports kernel density esti… May 27, 2013
MANIFEST.in Addition of mean shift module, that also supports kernel density esti… May 27, 2013
__init__.py Addition of mean shift module, that also supports kernel density esti… May 27, 2013
balls.c Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
balls.h Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
bessel.c Various fixes to make it more mac friendly, though missed out a compi… Feb 27, 2016
bessel.h Acceleration of modified Bessel function stuff, to make Fisher kernel… Feb 27, 2016
convert.c Mean shift updated with conversion system down until the draw method.… Feb 27, 2016
convert.h Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
data_matrix.c Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
data_matrix.h Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
eigen.c Addition of mean shift module, that also supports kernel density esti… May 27, 2013
eigen.h Addition of mean shift module, that also supports kernel density esti… May 27, 2013
hms.py Addition of hierarchical segmentation loader to ms module, with abili… Feb 27, 2016
info.py Addition of a test_camera script to test the conversion system and de… Feb 27, 2016
kernels.c Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
kernels.h Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
make_doc.py Adjust documentation generation to output markdown for github, rather… Mar 30, 2016
mean_shift.c Symmetry restoration - added the loo_nll bootstrap feature to entropy… Feb 27, 2016
mean_shift.h Symmetry restoration - added the loo_nll bootstrap feature to entropy… Feb 27, 2016
ms.py Symmetry restoration - added the loo_nll bootstrap feature to entropy… Feb 27, 2016
ms_c.c Tweak to let ms have probability clamps. Feb 27, 2016
ms_c.h Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
mult.c Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
mult.h Fisher multiplication now supports varying concentration parameters b… Feb 27, 2016
philox.c Fix philox having a different license from the rest of utils (Apache … Mar 13, 2016
philox.h Fix philox having a different license from the rest of utils (Apache … Mar 13, 2016
readme.txt More testing and bug fixes for ms module, plus slightly nicer documen… Feb 27, 2016
seg_hierarchy.py Addition of hierarchical segmentation loader to ms module, with abili… Feb 27, 2016
setup.py Correct url for ms module to point at github, not Google code. Mar 5, 2016
spatial.c Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
spatial.h Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
test_angle.py Angle test of ms conversion system works, started on full camera test. Feb 27, 2016
test_array.py MeanShift object now thinks its a data matrix. Feb 27, 2016
test_assign_cluster.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_assign_clusters.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_bandwidth_composite.py System for optimising scale in the case of composite kernels for ms m… Feb 27, 2016
test_bandwidth_estimation.py Some bug fixes and the addition of bandwidth estimation to mean shift… Nov 24, 2013
test_bandwidth_fisher.py ms module loo was correct all along - messed up the test code. Have a… Feb 27, 2016
test_bell_tails.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_camera.py Addition of a test_camera script to test the conversion system and de… Feb 27, 2016
test_composite.py Cleanup of RNG behaviour in MS module. Feb 27, 2016
test_discrete.py Addition of an (almost useless) discrete distribution. Its incompatab… Feb 27, 2016
test_draw.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_draw_weighted.py More testing and bug fixes for ms module, plus slightly nicer documen… Feb 27, 2016
test_fisher.py System for optimising scale in the case of composite kernels for ms m… Feb 27, 2016
test_fisher_approximation.py Lots of MS work towards loo kernel size selection working with Fisher… Feb 27, 2016
test_high_concentration.py Fallback for high concentrations with directional distributions based… Feb 27, 2016
test_information.py Conversion system no longer breaks existing functionality, but not co… Feb 27, 2016
test_kernels.py A script to generate some images of kernels for a lecture. Feb 9, 2018
test_kl_to_original.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_line.py Addition of mean shift module, that also supports kernel density esti… May 27, 2013
test_manifold.py Addition of mean shift module, that also supports kernel density esti… May 27, 2013
test_manifold2.py Additional subspace constrained mean shift manifold test plus some fi… May 30, 2013
test_mem.py Memory management improvements for ms module - reporting and paramete… Feb 27, 2016
test_mirror_fisher.py Few tweaks to ms module. Feb 27, 2016
test_mode.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_modes.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_modes_data.py Conversion system no longer breaks existing functionality, but not co… Feb 27, 2016
test_mult.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_mult_fisher.py Fix for Fisher distribution in ms module - its test script now runs a… Feb 27, 2016
test_nist.py Another test for the subspace constrained mean shift. May 30, 2013
test_norm.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_prob.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_probs.py Addition of Logistic kernel to mean shift library, as it seemed like … Feb 27, 2016
test_rng.py Test for MS RNG behaviour, to verify its doing what it should. Feb 27, 2016
test_seg.py Addition of an (almost useless) discrete distribution. Its incompatab… Feb 27, 2016
utils Addition of mean shift module, that also supports kernel density esti… May 27, 2013

readme.txt

Mean Shift

Primarily provides a mean shift implementation, but also includes kernel density estimation and subspace constrained mean shift using the same object, such that they are all using the same underlying density estimate. Has support for multiplication, such that this can be used as the message in particle filtering/nonparametric belief propagation. Includes multiple spatial indexing schemes and kernel types, including one for directional data (Von-Mises Fisher distribution). Clustering is supported, with a choice of cluster intersection tests, as well as the ability to interpret exemplar indexing dimensions of the data matrix as extra features, so it can handle the traditional image segmentation scenario.

If you are reading readme.txt then you can generate documentation by running make_doc.py
Note that this module includes a setup.py that allows you to package/install it (The dependency on utils is only for the tests and automatic compilation if you have not installed it - it is not required.)
It is strongly recommended that you look through the various test* files to see examples of how to use the system.

Pay particular attention to info.py, which queries and returns all the various options for things such as kernel type and spatial acceleration structures - it is in effect further runtime generated documentation, plus a good test the module is working.


Contains the following key files:

ms.py - The file a user imports - provides a single class - MeanShift.

info.py - File that iterates and prints out information on all the modular components of the system. The html generated docs include the same information, as make_doc includes the same code.

test_*.py - Many test scripts.

readme.txt - This file, which is included in the html documentation.
make_doc.py - Builds the html documentation.
setup.py - Allows you to create a package/build/install this module.