├── .gitignore
├── 3rd_party
├── DP_NMS
│ ├── build_graph.m
│ ├── calc_overlap.m
│ ├── cs2_func.m
│ ├── evaluateTracking_15.m
│ ├── globals.m
│ ├── main.m
│ ├── nms_aggressive.m
│ ├── sub.m
│ ├── tracking_dp.m
│ ├── tracking_push_relabel.m
│ └── write_tracking_results.m
├── Hungarian
│ ├── assignment.h
│ ├── assignment.html
│ ├── assignmentallpossible.m
│ ├── assignmentoptimal.c
│ ├── assignmentoptimal.m
│ ├── assignmentoptimal.mexa64
│ ├── assignmentsuboptimal1.c
│ ├── assignmentsuboptimal1.m
│ ├── assignmentsuboptimal1.mexa64
│ ├── assignmentsuboptimal2.c
│ ├── assignmentsuboptimal2.m
│ ├── assignmentsuboptimal2.mexa64
│ ├── license.txt
│ └── testassignment.m
├── L1APG
│ ├── APGLASSOup.m
│ ├── IMGaffine_c.c
│ ├── IMGaffine_c.mexa64
│ ├── InitTemplates.m
│ ├── L1APG_initialize.m
│ ├── L1APG_reconstruction_error.m
│ ├── L1APG_track_frame.m
│ ├── L1APG_update.m
│ ├── aff2image.m
│ ├── corner2image.m
│ ├── corners2affine.m
│ ├── crop_candidates.m
│ ├── drawAffine.m
│ ├── draw_sample.m
│ ├── images_angle.m
│ ├── normalizeTemplates.m
│ ├── resample.m
│ ├── showTemplates.m
│ ├── track_YOUTUBE.m
│ └── whitening.m
├── cs2
│ ├── copyright.txt
│ ├── cs2mex.c
│ └── cs2mex.mexa64
└── libsvm-3.20
│ ├── COPYRIGHT
│ ├── FAQ.html
│ ├── Makefile
│ ├── Makefile.win
│ ├── README
│ ├── heart_scale
│ ├── matlab
│ ├── Makefile
│ ├── README
│ ├── libsvmread.c
│ ├── libsvmread.mexa64
│ ├── libsvmwrite.c
│ ├── libsvmwrite.mexa64
│ ├── make.m
│ ├── svm_model_matlab.c
│ ├── svm_model_matlab.h
│ ├── svmpredict.c
│ ├── svmpredict.mexa64
│ ├── svmtrain.c
│ └── svmtrain.mexa64
│ ├── python
│ ├── Makefile
│ ├── README
│ ├── svm.py
│ └── svmutil.py
│ ├── svm-predict.c
│ ├── svm-scale.c
│ ├── svm-train.c
│ ├── svm.cpp
│ ├── svm.def
│ ├── svm.h
│ └── tools
│ ├── README
│ ├── checkdata.py
│ ├── easy.py
│ ├── grid.py
│ └── subset.py
├── DMAN.png
├── DMAN_demo.m
├── ECO
├── LICENSE
├── README.md
├── VOT_integration
│ ├── benchmark_wrapper
│ │ ├── benchmark_tracker_wrapper.m
│ │ ├── setup_tracker_paths.m
│ │ ├── vot_initialize.m
│ │ └── vot_quit.m
│ └── configuration_file
│ │ └── tracker_ECO.m
├── demo_ECO.m
├── demo_ECO_HC.m
├── external_libs
│ ├── mexResize
│ │ ├── MxArray.cpp
│ │ ├── MxArray.hpp
│ │ ├── compile.m
│ │ ├── libopencv_core.a
│ │ ├── libopencv_imgproc.a
│ │ ├── mexResize.cpp
│ │ ├── mexResize.mexw64
│ │ ├── opencv2
│ │ │ ├── core
│ │ │ │ ├── core.hpp
│ │ │ │ ├── core_c.h
│ │ │ │ ├── devmem2d.hpp
│ │ │ │ ├── eigen.hpp
│ │ │ │ ├── gpumat.hpp
│ │ │ │ ├── internal.hpp
│ │ │ │ ├── mat.hpp
│ │ │ │ ├── opengl_interop.hpp
│ │ │ │ ├── operations.hpp
│ │ │ │ ├── types_c.h
│ │ │ │ ├── version.hpp
│ │ │ │ └── wimage.hpp
│ │ │ ├── features2d
│ │ │ │ └── features2d.hpp
│ │ │ ├── flann
│ │ │ │ ├── all_indices.h
│ │ │ │ ├── allocator.h
│ │ │ │ ├── any.h
│ │ │ │ ├── autotuned_index.h
│ │ │ │ ├── composite_index.h
│ │ │ │ ├── config.h
│ │ │ │ ├── defines.h
│ │ │ │ ├── dist.h
│ │ │ │ ├── dummy.h
│ │ │ │ ├── dynamic_bitset.h
│ │ │ │ ├── flann.hpp
│ │ │ │ ├── flann_base.hpp
│ │ │ │ ├── general.h
│ │ │ │ ├── ground_truth.h
│ │ │ │ ├── hdf5.h
│ │ │ │ ├── heap.h
│ │ │ │ ├── hierarchical_clustering_index.h
│ │ │ │ ├── index_testing.h
│ │ │ │ ├── kdtree_index.h
│ │ │ │ ├── kdtree_single_index.h
│ │ │ │ ├── kmeans_index.h
│ │ │ │ ├── linear_index.h
│ │ │ │ ├── logger.h
│ │ │ │ ├── lsh_index.h
│ │ │ │ ├── lsh_table.h
│ │ │ │ ├── matrix.h
│ │ │ │ ├── miniflann.hpp
│ │ │ │ ├── nn_index.h
│ │ │ │ ├── object_factory.h
│ │ │ │ ├── params.h
│ │ │ │ ├── random.h
│ │ │ │ ├── result_set.h
│ │ │ │ ├── sampling.h
│ │ │ │ ├── saving.h
│ │ │ │ ├── simplex_downhill.h
│ │ │ │ └── timer.h
│ │ │ ├── imgproc
│ │ │ │ ├── imgproc.hpp
│ │ │ │ ├── imgproc_c.h
│ │ │ │ └── types_c.h
│ │ │ ├── opencv.hpp
│ │ │ └── opencv_modules.hpp
│ │ ├── opencv_core242.dll
│ │ ├── opencv_core242.lib
│ │ ├── opencv_imgproc242.dll
│ │ └── opencv_imgproc242.lib
│ ├── mtimesx
│ │ ├── license.txt
│ │ ├── mtimesx.c
│ │ ├── mtimesx.m
│ │ ├── mtimesx_RealTimesReal.c
│ │ ├── mtimesx_build.m
│ │ ├── mtimesx_sparse.m
│ │ ├── mtimesx_test_ddequal.m
│ │ ├── mtimesx_test_ddspeed.m
│ │ ├── mtimesx_test_dsequal.m
│ │ ├── mtimesx_test_dsspeed.m
│ │ ├── mtimesx_test_nd.m
│ │ ├── mtimesx_test_sdequal.m
│ │ ├── mtimesx_test_sdspeed.m
│ │ ├── mtimesx_test_ssequal.m
│ │ └── mtimesx_test_ssspeed.m
│ └── pdollar_toolbox
│ │ ├── .gitignore
│ │ ├── README.md
│ │ ├── channels
│ │ ├── Contents.m
│ │ ├── chnsCompute.m
│ │ ├── chnsPyramid.m
│ │ ├── chnsScaling.m
│ │ ├── convBox.m
│ │ ├── convMax.m
│ │ ├── convTri.m
│ │ ├── fhog.m
│ │ ├── gradient2.m
│ │ ├── gradientHist.m
│ │ ├── gradientMag.m
│ │ ├── hog.m
│ │ ├── hogDraw.m
│ │ ├── imPad.m
│ │ ├── imResample.m
│ │ ├── private
│ │ │ ├── chnsTestCpp.cpp
│ │ │ ├── convConst.cpp
│ │ │ ├── convConst.mexmaci64
│ │ │ ├── convConst.mexw64
│ │ │ ├── gradientMex.cpp
│ │ │ ├── gradientMex.mexmaci64
│ │ │ ├── gradientMex.mexw64
│ │ │ ├── gradientMexNew.mexmaci64
│ │ │ ├── imPadMex.cpp
│ │ │ ├── imPadMex.mexmaci64
│ │ │ ├── imPadMex.mexw64
│ │ │ ├── imResampleMex.cpp
│ │ │ ├── imResampleMex.mexmaci64
│ │ │ ├── imResampleMex.mexw64
│ │ │ ├── rgbConvertMex.cpp
│ │ │ ├── rgbConvertMex.mexmaci64
│ │ │ ├── rgbConvertMex.mexw64
│ │ │ ├── sse.hpp
│ │ │ └── wrappers.hpp
│ │ └── rgbConvert.m
│ │ ├── classify
│ │ ├── Contents.m
│ │ ├── adaBoostApply.m
│ │ ├── adaBoostTrain.m
│ │ ├── binaryTreeApply.m
│ │ ├── binaryTreeTrain.m
│ │ ├── confMatrix.m
│ │ ├── confMatrixShow.m
│ │ ├── demoCluster.m
│ │ ├── demoGenData.m
│ │ ├── distMatrixShow.m
│ │ ├── fernsClfApply.m
│ │ ├── fernsClfTrain.m
│ │ ├── fernsInds.m
│ │ ├── fernsRegApply.m
│ │ ├── fernsRegTrain.m
│ │ ├── forestApply.m
│ │ ├── forestTrain.m
│ │ ├── kmeans2.m
│ │ ├── meanShift.m
│ │ ├── meanShiftIm.m
│ │ ├── meanShiftImExplore.m
│ │ ├── pca.m
│ │ ├── pcaApply.m
│ │ ├── pcaData.mat
│ │ ├── pcaRandVec.m
│ │ ├── pcaVisualize.m
│ │ ├── pdist2.m
│ │ ├── private
│ │ │ ├── IDX2order.m
│ │ │ ├── binaryTreeTrain1.cpp
│ │ │ ├── binaryTreeTrain1.mexmaci64
│ │ │ ├── binaryTreeTrain1.mexw64
│ │ │ ├── fernsInds1.c
│ │ │ ├── fernsInds1.mexmaci64
│ │ │ ├── fernsInds1.mexw64
│ │ │ ├── forestFindThr.cpp
│ │ │ ├── forestFindThr.mexmaci64
│ │ │ ├── forestFindThr.mexw64
│ │ │ ├── forestInds.cpp
│ │ │ ├── forestInds.mexmaci64
│ │ │ ├── forestInds.mexw64
│ │ │ ├── meanShift1.c
│ │ │ ├── meanShift1.mexmaci64
│ │ │ ├── meanShift1.mexw64
│ │ │ └── meanShiftPost.m
│ │ ├── rbfComputeBasis.m
│ │ ├── rbfComputeFtrs.m
│ │ ├── rbfDemo.m
│ │ ├── softMin.m
│ │ └── visualizeData.m
│ │ ├── detector
│ │ ├── Contents.m
│ │ ├── acfDemoCal.m
│ │ ├── acfDemoInria.m
│ │ ├── acfDetect.m
│ │ ├── acfModify.m
│ │ ├── acfReadme.m
│ │ ├── acfSweeps.m
│ │ ├── acfTest.m
│ │ ├── acfTrain.m
│ │ ├── bbApply.m
│ │ ├── bbGt.m
│ │ ├── bbLabeler.m
│ │ ├── bbNms.m
│ │ ├── models
│ │ │ ├── AcfCaltech+Detector.mat
│ │ │ ├── AcfCaltech+Log.txt
│ │ │ ├── AcfCaltech+Roc.png
│ │ │ ├── AcfInriaDetector.mat
│ │ │ ├── AcfInriaLog.txt
│ │ │ ├── AcfInriaRoc.png
│ │ │ ├── LdcfCaltechDetector.mat
│ │ │ ├── LdcfCaltechLog.txt
│ │ │ ├── LdcfCaltechRoc.png
│ │ │ ├── LdcfInriaDetector.mat
│ │ │ ├── LdcfInriaLog.txt
│ │ │ └── LdcfInriaRoc.png
│ │ └── private
│ │ │ ├── acfDetect1.cpp
│ │ │ ├── acfDetect1.mexmaci64
│ │ │ └── acfDetect1.mexw64
│ │ ├── doc
│ │ ├── alpha.png
│ │ ├── c++.png
│ │ ├── c.png
│ │ ├── channels
│ │ │ ├── Contents.html
│ │ │ ├── chnsCompute.html
│ │ │ ├── chnsPyramid.html
│ │ │ ├── chnsScaling.html
│ │ │ ├── convBox.html
│ │ │ ├── convMax.html
│ │ │ ├── convTri.html
│ │ │ ├── fhog.html
│ │ │ ├── gradient2.html
│ │ │ ├── gradientHist.html
│ │ │ ├── gradientMag.html
│ │ │ ├── hog.html
│ │ │ ├── hogDraw.html
│ │ │ ├── imPad.html
│ │ │ ├── imResample.html
│ │ │ ├── menu.html
│ │ │ └── rgbConvert.html
│ │ ├── classify
│ │ │ ├── Contents.html
│ │ │ ├── adaBoostApply.html
│ │ │ ├── adaBoostTrain.html
│ │ │ ├── binaryTreeApply.html
│ │ │ ├── binaryTreeTrain.html
│ │ │ ├── confMatrix.html
│ │ │ ├── confMatrixShow.html
│ │ │ ├── demoCluster.html
│ │ │ ├── demoGenData.html
│ │ │ ├── distMatrixShow.html
│ │ │ ├── fernsClfApply.html
│ │ │ ├── fernsClfTrain.html
│ │ │ ├── fernsInds.html
│ │ │ ├── fernsRegApply.html
│ │ │ ├── fernsRegTrain.html
│ │ │ ├── forestApply.html
│ │ │ ├── forestTrain.html
│ │ │ ├── kmeans2.html
│ │ │ ├── meanShift.html
│ │ │ ├── meanShiftIm.html
│ │ │ ├── meanShiftImExplore.html
│ │ │ ├── menu.html
│ │ │ ├── pca.html
│ │ │ ├── pcaApply.html
│ │ │ ├── pcaRandVec.html
│ │ │ ├── pcaVisualize.html
│ │ │ ├── pdist2.html
│ │ │ ├── rbfComputeBasis.html
│ │ │ ├── rbfComputeFtrs.html
│ │ │ ├── rbfDemo.html
│ │ │ ├── softMin.html
│ │ │ └── visualizeData.html
│ │ ├── demoicon.gif
│ │ ├── detector
│ │ │ ├── Contents.html
│ │ │ ├── acfDemoCal.html
│ │ │ ├── acfDemoInria.html
│ │ │ ├── acfDetect.html
│ │ │ ├── acfModify.html
│ │ │ ├── acfReadme.html
│ │ │ ├── acfSweeps.html
│ │ │ ├── acfTest.html
│ │ │ ├── acfTrain.html
│ │ │ ├── bbApply.html
│ │ │ ├── bbGt.html
│ │ │ ├── bbLabeler.html
│ │ │ ├── bbNms.html
│ │ │ └── menu.html
│ │ ├── down.png
│ │ ├── favicon.ico
│ │ ├── filters
│ │ │ ├── Contents.html
│ │ │ ├── FbApply2d.html
│ │ │ ├── FbCrop.html
│ │ │ ├── FbMake.html
│ │ │ ├── FbReconstruct2d.html
│ │ │ ├── FbVisualize.html
│ │ │ ├── filterBinomial1d.html
│ │ │ ├── filterDog2d.html
│ │ │ ├── filterDoog.html
│ │ │ ├── filterGabor1d.html
│ │ │ ├── filterGabor2d.html
│ │ │ ├── filterGauss.html
│ │ │ ├── filterSteerable.html
│ │ │ ├── filterVisualize.html
│ │ │ ├── medfilt1m.html
│ │ │ ├── menu.html
│ │ │ └── modefilt1.html
│ │ ├── fortran.png
│ │ ├── history.txt
│ │ ├── hp.png
│ │ ├── images
│ │ │ ├── Contents.html
│ │ │ ├── assignToBins.html
│ │ │ ├── clusterMontage.html
│ │ │ ├── convnFast.html
│ │ │ ├── filmStrip.html
│ │ │ ├── gaussSmooth.html
│ │ │ ├── histMontage.html
│ │ │ ├── histc2.html
│ │ │ ├── histcImLoc.html
│ │ │ ├── histcImWin.html
│ │ │ ├── im.html
│ │ │ ├── imMlGauss.html
│ │ │ ├── imNormalize.html
│ │ │ ├── imRectRot.html
│ │ │ ├── imShrink.html
│ │ │ ├── imtransform2.html
│ │ │ ├── imwrite2.html
│ │ │ ├── jitterImage.html
│ │ │ ├── localSum.html
│ │ │ ├── makeGif.html
│ │ │ ├── maskCircle.html
│ │ │ ├── maskEllipse.html
│ │ │ ├── maskGaussians.html
│ │ │ ├── maskSphere.html
│ │ │ ├── menu.html
│ │ │ ├── montage2.html
│ │ │ ├── movieToImages.html
│ │ │ ├── nonMaxSupr.html
│ │ │ ├── nonMaxSuprList.html
│ │ │ ├── nonMaxSuprWin.html
│ │ │ ├── normxcorrn.html
│ │ │ ├── playMovie.html
│ │ │ ├── textureMap.html
│ │ │ ├── xcorrn.html
│ │ │ └── xeucn.html
│ │ ├── index.html
│ │ ├── left.png
│ │ ├── linux.png
│ │ ├── m2html.css
│ │ ├── matlab
│ │ │ ├── Contents.html
│ │ │ ├── arrayCrop.html
│ │ │ ├── arrayToDims.html
│ │ │ ├── c.html
│ │ │ ├── cc.html
│ │ │ ├── ccc.html
│ │ │ ├── cell2array.html
│ │ │ ├── char2img.html
│ │ │ ├── checkNumArgs.html
│ │ │ ├── dijkstra.html
│ │ │ ├── dirSynch.html
│ │ │ ├── diskFill.html
│ │ │ ├── dispMatrixIm.html
│ │ │ ├── fevalArrays.html
│ │ │ ├── fevalDistr.html
│ │ │ ├── fevalDistrDisk.html
│ │ │ ├── fevalImages.html
│ │ │ ├── fevalMats.html
│ │ │ ├── figureResized.html
│ │ │ ├── gauss2ellipse.html
│ │ │ ├── getPrmDflt.html
│ │ │ ├── imLabel.html
│ │ │ ├── ind2sub2.html
│ │ │ ├── int2str2.html
│ │ │ ├── isfield2.html
│ │ │ ├── mat2cell2.html
│ │ │ ├── medianw.html
│ │ │ ├── menu.html
│ │ │ ├── multiDiv.html
│ │ │ ├── multiTimes.html
│ │ │ ├── normpdf2.html
│ │ │ ├── num2strs.html
│ │ │ ├── plotEllipse.html
│ │ │ ├── plotGaussEllipses.html
│ │ │ ├── plotRoc.html
│ │ │ ├── randSample.html
│ │ │ ├── randint2.html
│ │ │ ├── rotationMatrix.html
│ │ │ ├── simpleCache.html
│ │ │ ├── spBlkDiag.html
│ │ │ ├── sub2ind2.html
│ │ │ ├── subsToArray.html
│ │ │ ├── text2.html
│ │ │ ├── ticStatus.html
│ │ │ ├── tocStatus.html
│ │ │ ├── tpsGetWarp.html
│ │ │ ├── tpsInterpolate.html
│ │ │ ├── tpsInterpolateIm.html
│ │ │ ├── tpsRandom.html
│ │ │ ├── txt2img.html
│ │ │ └── uniqueColors.html
│ │ ├── matlabicon.gif
│ │ ├── menu.html
│ │ ├── mex.png
│ │ ├── new.gif
│ │ ├── overview.html
│ │ ├── right.png
│ │ ├── sgi.png
│ │ ├── simulinkicon.gif
│ │ ├── solaris.png
│ │ ├── up.png
│ │ ├── videos
│ │ │ ├── Contents.html
│ │ │ ├── behaviorAnnotator.html
│ │ │ ├── behaviorData.html
│ │ │ ├── imagesAlign.html
│ │ │ ├── imagesAlignSeq.html
│ │ │ ├── kernelTracker.html
│ │ │ ├── menu.html
│ │ │ ├── opticalFlow.html
│ │ │ ├── seqIo.html
│ │ │ ├── seqPlayer.html
│ │ │ ├── seqReaderPlugin.html
│ │ │ └── seqWriterPlugin.html
│ │ └── windows.png
│ │ ├── external
│ │ ├── bsd.txt
│ │ ├── deprecated
│ │ │ ├── apply_homography.m
│ │ │ ├── clfData.mat
│ │ │ ├── clfDecTree.m
│ │ │ ├── clfDecTreeFwd.m
│ │ │ ├── clfDecTreeTrain.m
│ │ │ ├── clfEcoc.m
│ │ │ ├── clfEcocCode.m
│ │ │ ├── clfKnn.m
│ │ │ ├── clfKnnDist.m
│ │ │ ├── clfKnnFwd.m
│ │ │ ├── clfKnnTrain.m
│ │ │ ├── clfLda.m
│ │ │ ├── clfLdaFwd.m
│ │ │ ├── clfLdaTrain.m
│ │ │ ├── clfSvm.m
│ │ │ ├── demoClassify.m
│ │ │ ├── diffTracker.m
│ │ │ ├── filter_gauss_1D.m
│ │ │ ├── getargs.m
│ │ │ ├── imRectLite.m
│ │ │ ├── imSubsResize.m
│ │ │ ├── imrotate2.m
│ │ │ ├── imtranslate.m
│ │ │ ├── imwrite2split.m
│ │ │ ├── localsum_block.m
│ │ │ ├── makemovie.m
│ │ │ ├── mode2.m
│ │ │ ├── montages2.m
│ │ │ ├── nfoldxval.m
│ │ │ ├── normxcorrn_fg.m
│ │ │ ├── pca_apply.m
│ │ │ ├── pca_apply_large.m
│ │ │ ├── playmovies.m
│ │ │ ├── randperm2.m
│ │ │ └── subsampleMatrix.m
│ │ ├── history.txt
│ │ ├── m2html
│ │ │ ├── @template
│ │ │ │ ├── char.m
│ │ │ │ ├── display.m
│ │ │ │ ├── get.m
│ │ │ │ ├── parse.m
│ │ │ │ ├── private
│ │ │ │ │ ├── finish.m
│ │ │ │ │ ├── loadtpl.m
│ │ │ │ │ └── subst.m
│ │ │ │ ├── set.m
│ │ │ │ └── template.m
│ │ │ ├── Changelog
│ │ │ ├── Contents.m
│ │ │ ├── GPL
│ │ │ ├── INSTALL
│ │ │ ├── LICENSE
│ │ │ ├── README
│ │ │ ├── TODO
│ │ │ ├── m2html.m
│ │ │ ├── mdot.m
│ │ │ ├── mwizard.m
│ │ │ ├── mwizard2.m
│ │ │ ├── private
│ │ │ │ ├── doxyread.m
│ │ │ │ ├── doxysearch.m
│ │ │ │ ├── doxywrite.m
│ │ │ │ ├── m2htmltoolbarimages.mat
│ │ │ │ ├── mexexts.m
│ │ │ │ ├── mfileparse.m
│ │ │ │ ├── openfile.m
│ │ │ │ ├── searchindex.m
│ │ │ │ ├── splitcode.m
│ │ │ │ └── strtok.m
│ │ │ └── templates
│ │ │ │ ├── blue
│ │ │ │ ├── Thumbs.db
│ │ │ │ ├── alpha.png
│ │ │ │ ├── c++.png
│ │ │ │ ├── c.png
│ │ │ │ ├── demoicon.gif
│ │ │ │ ├── down.png
│ │ │ │ ├── doxysearch.php
│ │ │ │ ├── fortran.png
│ │ │ │ ├── graph.tpl
│ │ │ │ ├── hp.png
│ │ │ │ ├── left.png
│ │ │ │ ├── linux.png
│ │ │ │ ├── m2html.css
│ │ │ │ ├── master.tpl
│ │ │ │ ├── matlabicon.gif
│ │ │ │ ├── mdir.tpl
│ │ │ │ ├── mex.png
│ │ │ │ ├── mfile.tpl
│ │ │ │ ├── pcode.png
│ │ │ │ ├── right.png
│ │ │ │ ├── search.tpl
│ │ │ │ ├── sgi.png
│ │ │ │ ├── simulinkicon.gif
│ │ │ │ ├── solaris.png
│ │ │ │ ├── todo.tpl
│ │ │ │ ├── up.png
│ │ │ │ └── windows.png
│ │ │ │ ├── brain
│ │ │ │ ├── alpha.png
│ │ │ │ ├── brain.png
│ │ │ │ ├── c++.png
│ │ │ │ ├── c.png
│ │ │ │ ├── demoicon.gif
│ │ │ │ ├── down.png
│ │ │ │ ├── doxysearch.php
│ │ │ │ ├── fortran.png
│ │ │ │ ├── graph.tpl
│ │ │ │ ├── hp.png
│ │ │ │ ├── index.html
│ │ │ │ ├── left.png
│ │ │ │ ├── linux.png
│ │ │ │ ├── m2html.css
│ │ │ │ ├── master.tpl
│ │ │ │ ├── matlabicon.gif
│ │ │ │ ├── mdir.tpl
│ │ │ │ ├── menu.css
│ │ │ │ ├── mex.png
│ │ │ │ ├── mfile.tpl
│ │ │ │ ├── pcode.png
│ │ │ │ ├── right.png
│ │ │ │ ├── search.tpl
│ │ │ │ ├── sgi.png
│ │ │ │ ├── simulinkicon.gif
│ │ │ │ ├── solaris.png
│ │ │ │ ├── todo.tpl
│ │ │ │ ├── up.png
│ │ │ │ └── windows.png
│ │ │ │ ├── frame-piotr
│ │ │ │ ├── alpha.png
│ │ │ │ ├── c++.png
│ │ │ │ ├── c.png
│ │ │ │ ├── demoicon.gif
│ │ │ │ ├── down.png
│ │ │ │ ├── favicon.ico
│ │ │ │ ├── fortran.png
│ │ │ │ ├── graph.tpl
│ │ │ │ ├── hp.png
│ │ │ │ ├── index.html
│ │ │ │ ├── left.png
│ │ │ │ ├── linux.png
│ │ │ │ ├── m2html.css
│ │ │ │ ├── master.tpl
│ │ │ │ ├── matlabicon.gif
│ │ │ │ ├── mdir.tpl
│ │ │ │ ├── mex.png
│ │ │ │ ├── mfile.tpl
│ │ │ │ ├── new.gif
│ │ │ │ ├── overview.html
│ │ │ │ ├── right.png
│ │ │ │ ├── sgi.png
│ │ │ │ ├── simulinkicon.gif
│ │ │ │ ├── solaris.png
│ │ │ │ ├── todo.tpl
│ │ │ │ ├── up.png
│ │ │ │ └── windows.png
│ │ │ │ ├── frame
│ │ │ │ ├── alpha.png
│ │ │ │ ├── c++.png
│ │ │ │ ├── c.png
│ │ │ │ ├── demoicon.gif
│ │ │ │ ├── down.png
│ │ │ │ ├── doxysearch.php
│ │ │ │ ├── fortran.png
│ │ │ │ ├── graph.tpl
│ │ │ │ ├── hp.png
│ │ │ │ ├── index.html
│ │ │ │ ├── left.png
│ │ │ │ ├── linux.png
│ │ │ │ ├── m2html.css
│ │ │ │ ├── master.tpl
│ │ │ │ ├── matlabicon.gif
│ │ │ │ ├── mdir.tpl
│ │ │ │ ├── mex.png
│ │ │ │ ├── mfile.tpl
│ │ │ │ ├── pcode.png
│ │ │ │ ├── right.png
│ │ │ │ ├── search.tpl
│ │ │ │ ├── sgi.png
│ │ │ │ ├── simulinkicon.gif
│ │ │ │ ├── solaris.png
│ │ │ │ ├── todo.tpl
│ │ │ │ ├── up.png
│ │ │ │ └── windows.png
│ │ │ │ └── menu-for-frame-piotr.html
│ │ ├── other
│ │ │ ├── compareStructs.m
│ │ │ ├── matrix2latex.m
│ │ │ ├── multiprod.m
│ │ │ └── savefig.m
│ │ ├── toolboxCompile.m
│ │ ├── toolboxGenDoc.m
│ │ ├── toolboxHeader.m
│ │ └── toolboxUpdateHeader.m
│ │ ├── filters
│ │ ├── Contents.m
│ │ ├── FbApply2d.m
│ │ ├── FbCrop.m
│ │ ├── FbDoG.mat
│ │ ├── FbGabor.mat
│ │ ├── FbMake.m
│ │ ├── FbReconstruct2d.m
│ │ ├── FbVisualize.m
│ │ ├── filterBinomial1d.m
│ │ ├── filterDog2d.m
│ │ ├── filterDoog.m
│ │ ├── filterGabor1d.m
│ │ ├── filterGabor2d.m
│ │ ├── filterGauss.m
│ │ ├── filterSteerable.m
│ │ ├── filterVisualize.m
│ │ ├── medfilt1m.m
│ │ └── modefilt1.m
│ │ ├── images
│ │ ├── Contents.m
│ │ ├── assignToBins.m
│ │ ├── clusterMontage.m
│ │ ├── convnFast.m
│ │ ├── filmStrip.m
│ │ ├── gaussSmooth.m
│ │ ├── histMontage.m
│ │ ├── histc2.m
│ │ ├── histcImLoc.m
│ │ ├── histcImWin.m
│ │ ├── im.m
│ │ ├── imMlGauss.m
│ │ ├── imNormalize.m
│ │ ├── imRectRot.m
│ │ ├── imShrink.m
│ │ ├── images.mat
│ │ ├── imtransform2.m
│ │ ├── imwrite2.m
│ │ ├── jitterImage.m
│ │ ├── localSum.m
│ │ ├── makeGif.m
│ │ ├── maskCircle.m
│ │ ├── maskEllipse.m
│ │ ├── maskGaussians.m
│ │ ├── maskSphere.m
│ │ ├── montage2.m
│ │ ├── movieToImages.m
│ │ ├── nonMaxSupr.m
│ │ ├── nonMaxSuprList.m
│ │ ├── nonMaxSuprWin.m
│ │ ├── normxcorrn.m
│ │ ├── playMovie.m
│ │ ├── private
│ │ │ ├── assignToBins1.c
│ │ │ ├── assignToBins1.mexmaci64
│ │ │ ├── assignToBins1.mexw64
│ │ │ ├── histc2c.c
│ │ │ ├── histc2c.mexmaci64
│ │ │ ├── histc2c.mexw64
│ │ │ ├── imtransform2_c.c
│ │ │ ├── imtransform2_c.mexmaci64
│ │ │ ├── imtransform2_c.mexw64
│ │ │ ├── nlfiltersep.m
│ │ │ ├── nlfiltersep_max.c
│ │ │ ├── nlfiltersep_max.mexmaci64
│ │ │ ├── nlfiltersep_max.mexw64
│ │ │ ├── nlfiltersep_sum.c
│ │ │ ├── nlfiltersep_sum.mexmaci64
│ │ │ └── nlfiltersep_sum.mexw64
│ │ ├── textureMap.m
│ │ ├── xcorrn.m
│ │ └── xeucn.m
│ │ ├── matlab
│ │ ├── Contents.m
│ │ ├── arrayCrop.m
│ │ ├── arrayToDims.m
│ │ ├── c.m
│ │ ├── cc.m
│ │ ├── ccc.m
│ │ ├── cell2array.m
│ │ ├── char2img.m
│ │ ├── checkNumArgs.m
│ │ ├── dijkstra.m
│ │ ├── dirSynch.m
│ │ ├── diskFill.m
│ │ ├── dispMatrixIm.m
│ │ ├── fevalArrays.m
│ │ ├── fevalDistr.m
│ │ ├── fevalDistrDisk.m
│ │ ├── fevalImages.m
│ │ ├── fevalMats.m
│ │ ├── figureResized.m
│ │ ├── gauss2ellipse.m
│ │ ├── getPrmDflt.m
│ │ ├── imLabel.m
│ │ ├── ind2sub2.m
│ │ ├── int2str2.m
│ │ ├── isfield2.m
│ │ ├── mat2cell2.m
│ │ ├── medianw.m
│ │ ├── multiDiv.m
│ │ ├── multiTimes.m
│ │ ├── normpdf2.m
│ │ ├── num2strs.m
│ │ ├── plotEllipse.m
│ │ ├── plotGaussEllipses.m
│ │ ├── plotRoc.m
│ │ ├── private
│ │ │ ├── char2img_h015.mat
│ │ │ ├── char2img_h020.mat
│ │ │ ├── char2img_h025.mat
│ │ │ ├── char2img_h030.mat
│ │ │ ├── char2img_h035.mat
│ │ │ ├── char2img_h050.mat
│ │ │ ├── dijkstra1.cpp
│ │ │ ├── dijkstra1.mexmaci64
│ │ │ ├── dijkstra1.mexw64
│ │ │ ├── fibheap.cpp
│ │ │ └── fibheap.h
│ │ ├── randSample.m
│ │ ├── randint2.m
│ │ ├── rotationMatrix.m
│ │ ├── simpleCache.m
│ │ ├── spBlkDiag.m
│ │ ├── sub2ind2.m
│ │ ├── subsToArray.m
│ │ ├── text2.m
│ │ ├── ticStatus.m
│ │ ├── tocStatus.m
│ │ ├── tpsGetWarp.m
│ │ ├── tpsInterpolate.m
│ │ ├── tpsInterpolateIm.m
│ │ ├── tpsRandom.m
│ │ ├── txt2img.m
│ │ └── uniqueColors.m
│ │ └── videos
│ │ ├── Contents.m
│ │ ├── behaviorAnnotator.m
│ │ ├── behaviorData.m
│ │ ├── imagesAlign.m
│ │ ├── imagesAlignSeq.m
│ │ ├── kernelTracker.m
│ │ ├── opticalFlow.m
│ │ ├── opticalFlowTest.mat
│ │ ├── peds30-seek.mat
│ │ ├── peds30.seq
│ │ ├── private
│ │ ├── ktComputeW_c.c
│ │ ├── ktComputeW_c.mexmaci64
│ │ ├── ktComputeW_c.mexw64
│ │ ├── ktHistcRgb_c.c
│ │ ├── ktHistcRgb_c.mexmaci64
│ │ ├── ktHistcRgb_c.mexw64
│ │ ├── opticalFlowHsMex.cpp
│ │ ├── opticalFlowHsMex.mexmaci64
│ │ └── opticalFlowHsMex.mexw64
│ │ ├── seqIo.m
│ │ ├── seqPlayer.m
│ │ ├── seqReaderPlugin.m
│ │ └── seqWriterPlugin.m
├── feature_extraction
│ ├── average_feature_region.m
│ ├── extract_features.m
│ ├── get_cnn_layers.m
│ ├── get_colorspace.m
│ ├── get_feature_extract_info.m
│ ├── get_fhog.m
│ ├── get_table_feature.m
│ ├── init_features.m
│ ├── integralVecImage.m
│ ├── load_cnn.m
│ ├── lookup_tables
│ │ ├── CNnorm.mat
│ │ ├── intensityChannelNorm11.mat
│ │ ├── intensityChannelNorm16.mat
│ │ └── intensityChannelNorm6.mat
│ ├── sample_patch.m
│ ├── set_cnn_input_size.m
│ └── table_lookup.m
├── implementation
│ ├── clustering
│ │ ├── find_cluster_distances.m
│ │ ├── merge_clusters.m
│ │ ├── update_prior_weights.m
│ │ └── update_score_matrix.m
│ ├── conjugate_gradient
│ │ ├── diag_precond.m
│ │ ├── inner_product_cdcf.m
│ │ ├── iterapp.m
│ │ ├── iterchk.m
│ │ ├── lhs_operation.m
│ │ ├── lhs_operation_joint.m
│ │ ├── my_lhs_operation.m
│ │ ├── norm_cdcf.m
│ │ └── pcg_ccot.m
│ ├── dim_reduction
│ │ └── project_sample.m
│ ├── fourier_tools
│ │ ├── cfft2.m
│ │ ├── cifft2.m
│ │ ├── compact_fourier_coeff.m
│ │ ├── cubic_spline_fourier.m
│ │ ├── full_fourier_coeff.m
│ │ ├── resizeDFT.m
│ │ ├── sample_fs.m
│ │ ├── shift_sample.m
│ │ └── symmetrize_filter.m
│ ├── initialization
│ │ ├── get_reg_filter.m
│ │ ├── init_default_params.m
│ │ └── init_feature_params.m
│ ├── interpolation
│ │ ├── get_interp_fourier.m
│ │ └── interpolate_dft.m
│ ├── localization
│ │ └── optimize_scores.m
│ ├── scale_filter
│ │ ├── extract_scale_sample.m
│ │ ├── feature_projection_scale.m
│ │ ├── init_scale_filter.m
│ │ ├── scale_filter_track.m
│ │ └── scale_filter_update.m
│ └── tracker.m
├── install.m
├── result_plots
│ ├── OTB-2015_succsess_plot.pdf
│ └── OTB-2015_succsess_plot.png
├── runfiles
│ ├── OTB_DEEP_settings.m
│ ├── OTB_HC_settings.m
│ ├── VOT2016_DEEP_settings.m
│ ├── VOT2016_HC_settings.m
│ ├── testing_ECO.m
│ └── testing_ECO_HC.m
├── sequences
│ └── Crossing
│ │ ├── groundtruth_rect.txt
│ │ └── img
│ │ ├── 0001.jpg
│ │ ├── 0002.jpg
│ │ ├── 0003.jpg
│ │ ├── 0004.jpg
│ │ ├── 0005.jpg
│ │ ├── 0006.jpg
│ │ ├── 0007.jpg
│ │ ├── 0008.jpg
│ │ ├── 0009.jpg
│ │ ├── 0010.jpg
│ │ ├── 0011.jpg
│ │ ├── 0012.jpg
│ │ ├── 0013.jpg
│ │ ├── 0014.jpg
│ │ ├── 0015.jpg
│ │ ├── 0016.jpg
│ │ ├── 0017.jpg
│ │ ├── 0018.jpg
│ │ ├── 0019.jpg
│ │ ├── 0020.jpg
│ │ ├── 0021.jpg
│ │ ├── 0022.jpg
│ │ ├── 0023.jpg
│ │ ├── 0024.jpg
│ │ ├── 0025.jpg
│ │ ├── 0026.jpg
│ │ ├── 0027.jpg
│ │ ├── 0028.jpg
│ │ ├── 0029.jpg
│ │ ├── 0030.jpg
│ │ ├── 0031.jpg
│ │ ├── 0032.jpg
│ │ ├── 0033.jpg
│ │ ├── 0034.jpg
│ │ ├── 0035.jpg
│ │ ├── 0036.jpg
│ │ ├── 0037.jpg
│ │ ├── 0038.jpg
│ │ ├── 0039.jpg
│ │ ├── 0040.jpg
│ │ ├── 0041.jpg
│ │ ├── 0042.jpg
│ │ ├── 0043.jpg
│ │ ├── 0044.jpg
│ │ ├── 0045.jpg
│ │ ├── 0046.jpg
│ │ ├── 0047.jpg
│ │ ├── 0048.jpg
│ │ ├── 0049.jpg
│ │ ├── 0050.jpg
│ │ ├── 0051.jpg
│ │ ├── 0052.jpg
│ │ ├── 0053.jpg
│ │ ├── 0054.jpg
│ │ ├── 0055.jpg
│ │ ├── 0056.jpg
│ │ ├── 0057.jpg
│ │ ├── 0058.jpg
│ │ ├── 0059.jpg
│ │ ├── 0060.jpg
│ │ ├── 0061.jpg
│ │ ├── 0062.jpg
│ │ ├── 0063.jpg
│ │ ├── 0064.jpg
│ │ ├── 0065.jpg
│ │ ├── 0066.jpg
│ │ ├── 0067.jpg
│ │ ├── 0068.jpg
│ │ ├── 0069.jpg
│ │ ├── 0070.jpg
│ │ ├── 0071.jpg
│ │ ├── 0072.jpg
│ │ ├── 0073.jpg
│ │ ├── 0074.jpg
│ │ ├── 0075.jpg
│ │ ├── 0076.jpg
│ │ ├── 0077.jpg
│ │ ├── 0078.jpg
│ │ ├── 0079.jpg
│ │ ├── 0080.jpg
│ │ ├── 0081.jpg
│ │ ├── 0082.jpg
│ │ ├── 0083.jpg
│ │ ├── 0084.jpg
│ │ ├── 0085.jpg
│ │ ├── 0086.jpg
│ │ ├── 0087.jpg
│ │ ├── 0088.jpg
│ │ ├── 0089.jpg
│ │ ├── 0090.jpg
│ │ ├── 0091.jpg
│ │ ├── 0092.jpg
│ │ ├── 0093.jpg
│ │ ├── 0094.jpg
│ │ ├── 0095.jpg
│ │ ├── 0096.jpg
│ │ ├── 0097.jpg
│ │ ├── 0098.jpg
│ │ ├── 0099.jpg
│ │ ├── 0100.jpg
│ │ ├── 0101.jpg
│ │ ├── 0102.jpg
│ │ ├── 0103.jpg
│ │ ├── 0104.jpg
│ │ ├── 0105.jpg
│ │ ├── 0106.jpg
│ │ ├── 0107.jpg
│ │ ├── 0108.jpg
│ │ ├── 0109.jpg
│ │ ├── 0110.jpg
│ │ ├── 0111.jpg
│ │ ├── 0112.jpg
│ │ ├── 0113.jpg
│ │ ├── 0114.jpg
│ │ ├── 0115.jpg
│ │ ├── 0116.jpg
│ │ ├── 0117.jpg
│ │ ├── 0118.jpg
│ │ ├── 0119.jpg
│ │ └── 0120.jpg
├── setup_paths.m
└── utils
│ └── load_video_info.m
├── ECO_initialize.m
├── ECO_params.m
├── ECO_tracking.m
├── LICENSE
├── MOT_associate.m
├── MOT_track.m
├── README.md
├── calc_overlap.m
├── calculate_similarity.py
├── concatenate_bboxes.m
├── devkit
├── evaluateTracking.m
├── readme.txt
├── run_evaluation.m
├── seqmaps
│ ├── c2-test.txt
│ ├── c2-train.txt
│ ├── c3-test.txt
│ ├── c3-train.txt
│ ├── c4-test.txt
│ ├── c4-train.txt
│ ├── c5-test.txt
│ └── c5-train.txt
└── utils
│ ├── CLEAR_MOT_HUN.m
│ ├── CLEAR_MOT_HUN_draw.m
│ ├── Hungarian.m
│ ├── boxIntersect.m
│ ├── boxUnion.m
│ ├── boxiou.m
│ ├── camera
│ ├── README.md
│ ├── calib_towncentre.m
│ ├── distortedToUndistortedImageCoord.m
│ ├── distortedToUndistortedSensorCoord.m
│ ├── getRotTrans.m
│ ├── imageToWorld.m
│ ├── parseCameraParameters.m
│ ├── undistortedToDistortedImageCoord.m
│ ├── undistortedToDistortedSensorCoord.m
│ └── worldToImage.m
│ ├── classIDToString.m
│ ├── classStringToID.m
│ ├── convertTXTToStruct.m
│ ├── external
│ └── iniconfig
│ │ ├── IniConfig.m
│ │ └── license.txt
│ ├── getClassLabels.m
│ ├── getImgExt.m
│ ├── getSeqInfoFromFile.m
│ ├── parseSequences.m
│ ├── preprocessResult.m
│ └── printMetrics.m
├── extract_det_feat.m
├── find_candidate_detections.m
├── find_detections_for_association.m
├── globals.m
├── handle_conflicting_trackers.m
├── init_tracker
├── MOT16-02_tracker.mat
├── MOT16-04_tracker.mat
├── MOT16-05_tracker.mat
├── MOT16-09_tracker.mat
├── MOT16-10_tracker.mat
├── MOT16-11_tracker.mat
└── MOT16-13_tracker.mat
├── initialize_tracker.m
├── interpolate_traj.m
├── motion_predict.m
├── nms.m
├── read_bboxes.m
├── save_results.m
├── sort_trackers.m
├── spatial_temporal_attention_network.py
├── sub_bboxes.m
├── track_frame.m
└── track_seq.m
/3rd_party/DP_NMS/build_graph.m:
--------------------------------------------------------------------------------
1 | function dres = build_graph(dres)
2 | ov_thresh = 0.5;
3 | dnum = length(dres.x);
4 | time1 = tic;
5 | len1 = max(dres.fr);
6 | for fr = 2:max(dres.fr)
7 | if toc(time1) > 2
8 | fprintf('%0.1f%%\n', 100*fr/len1);
9 | time1 = tic;
10 | end
11 | f1 = find(dres.fr == fr); %% indices for detections on this frame
12 | f2 = find(dres.fr == fr-1); %% indices for detections on the previous frame
13 | for i = 1:length(f1)
14 | ovs1 = calc_overlap(dres, f1(i), dres, f2);
15 | inds1 = find(ovs1 > ov_thresh); %% find overlapping bounding boxes.
16 |
17 | ratio1 = dres.h(f1(i))./dres.h(f2(inds1));
18 | inds2 = (min(ratio1, 1./ratio1) > 0.8); %% we ignore transitions with large change in the size of bounding boxes.
19 |
20 | dres.nei(f1(i),1).inds = f2(inds1(inds2))'; %% each detction window will have a list of indices pointing to its neighbors in the previous frame.
21 | % dres.nei(f1(i),1).ovs = ovs1(inds1(inds2));
22 | end
23 | end
24 |
25 |
--------------------------------------------------------------------------------
/3rd_party/DP_NMS/cs2_func.m:
--------------------------------------------------------------------------------
1 | % This function calls c implementation of push-relabel algorithm. It is downloaded from http://www.igsystems.com/cs2/index.html and then we mex'ed it to run faster in matlab.
2 | % dat_in = [tail head cost lb ub];
3 | % dat_out = [frail fhead flow];
4 | % excess_node = [source_num sink_num];
5 | % excess_flow = [sourec_flow sink_flow];
6 |
7 | function [cost, dat_out] = cs2_func(dat_in, excess_node, excess_flow)
8 |
9 | num_arc = size(dat_in,1);
10 |
11 | tail = dat_in(:,1)';
12 | head = dat_in(:,2)';
13 | cost = dat_in(:,3)';
14 |
15 | low = dat_in(:,4)';
16 | acap = dat_in(:,5)';
17 |
18 | num_node = max([tail head]);
19 | scale = 12;
20 | [cost,ftail,fhead,flow] = cs2mex(scale, num_node, num_arc, excess_node, excess_flow, tail, head, low, acap, cost);
21 |
22 | dat_out = [ftail fhead flow];
23 |
--------------------------------------------------------------------------------
/3rd_party/DP_NMS/globals.m:
--------------------------------------------------------------------------------
1 | function opt = globals()
2 |
3 | opt.mot = '/home/rain';
4 | opt.mot2d = '2DMOT2015';
5 | opt.results = 'results';
6 |
7 | opt.mot2d_train_seqs = {'TUD-Stadtmitte', 'TUD-Campus', 'PETS09-S2L1', ...
8 | 'ETH-Bahnhof', 'ETH-Sunnyday', 'ETH-Pedcross2', 'ADL-Rundle-6', ...
9 | 'ADL-Rundle-8', 'KITTI-13', 'KITTI-17', 'Venice-2'};
10 | opt.mot2d_train_nums = [179, 71, 795, 1000, 354, 840, 525, 654, 340, 145, 600];
11 |
12 | opt.mot2d_test_seqs = {'TUD-Crossing', 'PETS09-S2L2', 'ETH-Jelmoli', ...
13 | 'ETH-Linthescher', 'ETH-Crossing', 'AVG-TownCentre', 'ADL-Rundle-1', ...
14 | 'ADL-Rundle-3', 'KITTI-16', 'KITTI-19', 'Venice-1'};
15 | opt.mot2d_test_nums = [201, 436, 440, 1194, 219, 450, 500, 625, 209, 1059, 450];
16 |
17 | % tracking parameters
18 | opt.lost = 3;
19 |
20 | addpath(genpath('../cs2'));
21 | addpath(fullfile(opt.root, 'devkit', 'utils'));
--------------------------------------------------------------------------------
/3rd_party/DP_NMS/nms_aggressive.m:
--------------------------------------------------------------------------------
1 | function inds_out = nms_aggressive(dres, inds, thr)
2 |
3 | inds_out = zeros(length(dres.x),1);
4 | k = 0;
5 | for i=1:length(inds)
6 | f1 = inds(i); %% index of this detetion
7 | f2 = find(dres.fr == dres.fr(f1)); %% indices of all detections on the same frame
8 |
9 | [ovs ovs_n1] = calc_overlap(dres,f1,dres,f2);
10 | f3 = f2(find((ovs > thr) + (ovs_n1 > 0.9)));
11 | inds_out(k+1:k+length(f3)) = f3;
12 | k = k + length(f3);
13 | end
14 | inds_out = inds_out(1:k);
15 |
--------------------------------------------------------------------------------
/3rd_party/DP_NMS/sub.m:
--------------------------------------------------------------------------------
1 | function s = sub(s,I),
2 | % s = sub(s,I)
3 | % Returns a subset of the structure s
4 |
5 | if ~isempty(s),
6 | n = fieldnames(s);
7 | for i = 1:length(n),
8 | f = n{i};
9 | s.(f) = s.(f)(I,:);
10 | end
11 | end
12 |
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/3rd_party/DP_NMS/write_tracking_results.m:
--------------------------------------------------------------------------------
1 | function write_tracking_results(filename, dres)
2 |
3 | % sort dres according to fr
4 | [~, index] = sort(dres.fr);
5 |
6 | fid = fopen(filename, 'w');
7 |
8 | N = numel(index);
9 | for i = 1:N
10 | ind = index(i);
11 | % , , , , , , , , ,
12 | fprintf(fid, '%d,%d,%f,%f,%f,%f,%f,%f,%f,%f\n', ...
13 | dres.fr(ind), dres.id(ind), dres.x(ind), dres.y(ind), dres.w(ind), dres.h(ind), ...
14 | -1, -1, -1, -1);
15 | end
16 |
17 | fclose(fid);
--------------------------------------------------------------------------------
/3rd_party/Hungarian/assignment.h:
--------------------------------------------------------------------------------
1 | #ifndef _ASSIGNMENT_H_
2 | #define _ASSIGNMENT_H_
3 |
4 | #define ONE_INDEXING
5 | //#define WORK_IN_PLACE
6 | #define ASSIGNMENT_INF 9999999
7 |
8 | void assignmentsuboptimal1(int *assignment, double *cost, double *distMatrix, int *nOfValidObservations, int *nOfValidTracks, int nOfRows, int nOfColumns);
9 |
10 | void *myMalloc(int sz);
11 | void myFree(void *ptr);
12 | unsigned char myIsFinite(double value);
13 | double myGetInf();
14 |
15 | #endif /* _ASSIGNMENT_H_ */
16 |
17 |
--------------------------------------------------------------------------------
/3rd_party/Hungarian/assignmentoptimal.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/Hungarian/assignmentoptimal.mexa64
--------------------------------------------------------------------------------
/3rd_party/Hungarian/assignmentsuboptimal1.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/Hungarian/assignmentsuboptimal1.mexa64
--------------------------------------------------------------------------------
/3rd_party/Hungarian/assignmentsuboptimal2.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/Hungarian/assignmentsuboptimal2.mexa64
--------------------------------------------------------------------------------
/3rd_party/L1APG/IMGaffine_c.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/L1APG/IMGaffine_c.mexa64
--------------------------------------------------------------------------------
/3rd_party/L1APG/InitTemplates.m:
--------------------------------------------------------------------------------
1 | function [T,T_norm,T_mean,T_std] = InitTemplates(tsize, numT, img, cpt)
2 | % generate templates from single image
3 | % (r1,c1) ***** (r3,c3) (1,1) ***** (1,cols)
4 | % * * * *
5 | % * * -----> * *
6 | % * * * *
7 | % (r2,c2) ***** (r4,c4) (rows,1) **** (rows,cols)
8 | % r1,r2,r3;
9 | % c1,c2,c3
10 |
11 | %% prepare templates geometric parameters
12 | p{1}= cpt;
13 | for i=2:numT
14 | p{i} = cpt+randn(2,3)*0.6;
15 | end
16 | % p{2} = cpt + [-1 0 0; 0 0 0];
17 | % p{3} = cpt + [1 0 0; 0 0 0];
18 | % p{4} = cpt + [0 -1 0; 0 0 0];
19 | % p{5} = cpt + [0 1 0; 0 0 0];
20 | % p{6} = cpt + [0 0 1; 0 0 0];
21 | % p{7} = cpt + [0 0 0; -1 0 0];
22 | % p{8} = cpt + [0 0 0; 1 0 0];
23 | % p{9} = cpt + [0 0 0; 0 -1 0];
24 | % p{10} = cpt + [0 0 0; 0 1 0];
25 |
26 | %% Initializating templates and image
27 | T = zeros(prod([tsize 3]),numT);
28 |
29 | %% cropping and normalizing templates
30 | for n = 1:numT
31 | [T(:,n), T_norm(n), T_mean(n), T_std(n)] = corner2image(img, p{n}, tsize);
32 | end
--------------------------------------------------------------------------------
/3rd_party/L1APG/L1APG_reconstruction_error.m:
--------------------------------------------------------------------------------
1 | % compute the reconstruction error
2 | function err = L1APG_reconstruction_error(img, model, x1, y1, x2, y2)
3 |
4 | para = model.para;
5 | para.Lambda = model.Lambda;
6 | pos = [y1, y2, y1; x1 x1 x2];
7 | sz_T = para.sz_T;
8 | nT = para.nT;
9 |
10 | % get affine transformation parameters from the corner points
11 | aff_obj = corners2affine(pos, sz_T);
12 | map_aff = aff_obj.afnv;
13 |
14 | %-Crop candidate targets "Y" according to the transformation samples
15 | [Y, Y_inrange] = crop_candidates(im2double(img), map_aff, sz_T);
16 | if Y_inrange == 0
17 | fprintf('Target is out of the frame!\n');
18 | end
19 |
20 | Y = whitening(Y); % zero-mean-unit-variance
21 | Y = normalizeTemplates(Y); % norm one
22 | c = APGLASSOup(model.Temp'*Y, model.Dict, para);
23 | D_s = (Y - model.A(:,1:nT)*c(1:nT)).^2; % reconstruction error
24 | err = sum(D_s);
--------------------------------------------------------------------------------
/3rd_party/L1APG/aff2image.m:
--------------------------------------------------------------------------------
1 | function boxes = aff2image(aff_maps, T_sz)
2 | % Get the bounding "box" of the detected object in image
3 | % aff2image(aff_maps, T_sz)
4 | % Input:
5 | % aff_maps - 6xN matrix, containing N tracking results (N frames) in affine parameters,
6 | % each COLUMN is in the form of [a11 a12 a21 a22 t1 t2]'
7 | % T_sz - template size
8 | % Output:
9 | % boxes - 8xN matrix, containing N tracking boxes, each COLUMN
10 | % contains the coordinates of the four corner points.
11 | %
12 |
13 | r = T_sz(1);
14 | c = T_sz(2); % height and width of template
15 | n = size(aff_maps,2); % number of affine results
16 | boxes = zeros(8,n);
17 | for ii=1:n
18 | aff = aff_maps(:,ii);
19 | R = [ aff(1), aff(2), aff(5);...
20 | aff(3), aff(4), aff(6)];
21 |
22 | P = [ 1, r, 1, r; ...
23 | 1, 1, c, c; ...
24 | 1, 1, 1, 1];
25 |
26 | Q = R*P;
27 | boxes(:,ii) = Q(:);
28 | end
29 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/corner2image.m:
--------------------------------------------------------------------------------
1 | function [crop,crop_norm,crop_mean,crop_std] = corner2image(img, p, tsize)
2 | % (r1,c1) ***** (r3,c3) (1,1) ***** (1,cols)
3 | % * * * *
4 | % * * -----> * *
5 | % * * * *
6 | % (r2,c2) ***** (r4,c4) (rows,1) **** (rows,cols)
7 | afnv_obj = corners2affine(p, tsize);
8 | map_afnv = afnv_obj.afnv;
9 |
10 | img_map = IMGaffine_c(double(img), map_afnv, tsize);
11 |
12 | [crop, crop_mean, crop_std] = whitening( reshape(img_map, prod([tsize 3]), 1) ); % crop is a vector
13 | crop_norm = norm(crop);
14 | crop = crop/crop_norm;
--------------------------------------------------------------------------------
/3rd_party/L1APG/corners2affine.m:
--------------------------------------------------------------------------------
1 | function afnv_obj = corners2affine(corners_in, size_out)
2 | %Compute the affine parameter to the desired output size.
3 | %The affine transformation is: inpoints = R *outpoints;
4 | %
5 | % afnv = 3corner2afnv(corners_in, size_out)
6 | % corners_in -- cornner points in the input image, 2x3 [r1 r2 r3; c1 c2 c3]
7 | % size_out -- output size
8 | % afnv_obj.afnv -- affine parameters
9 | % afnv_obj.R -- transformation matrix,
10 | % afnv_obj.size -- size_out
11 | % (r1,c1) ***** (r3,c3) (1,1) ***** (1,cols)
12 | % * * * *
13 | % * * -----> * *
14 | % * * * *
15 | % (r2,c2) ***** (r4,c4) (rows,1) **** (rows,cols)
16 |
17 |
18 | if nargin ~= 2
19 | error('illegal # of nargin');
20 | end
21 |
22 | rows = size_out(1);
23 | cols = size_out(2);
24 |
25 | inp = [corners_in; 1,1,1];
26 |
27 | outp = ...
28 | [1, rows, 1; ...
29 | 1, 1, cols; ...
30 | 1, 1, 1];
31 |
32 | %outp = B * inp
33 | R = inp/outp;
34 | afnv_obj.R = R;
35 | afnv_obj.afnv = [R(1,1), R(1,2), R(2,1), R(2,2), R(1,3), R(2,3)];
36 | afnv_obj.size = size_out;
--------------------------------------------------------------------------------
/3rd_party/L1APG/crop_candidates.m:
--------------------------------------------------------------------------------
1 | function [gly_crop, gly_inrange] = crop_candidates(img_frame, curr_samples, template_size)
2 | %create gly_crop, gly_inrange
3 |
4 | nsamples = size(curr_samples,1);
5 | c = prod([template_size 3]);
6 | gly_inrange = zeros(nsamples,1);
7 | gly_crop = zeros(c,nsamples);
8 |
9 | for n = 1:nsamples
10 | curr_afnv = curr_samples(n, :);
11 |
12 | % [img_cut, gly_inrange(n)] = IMGaffine_r(img_frame, curr_afnv, template_size);
13 | [img_cut, gly_inrange(n)] = IMGaffine_c(img_frame, curr_afnv, template_size);
14 |
15 | gly_crop(:,n) = reshape(img_cut, c , 1);
16 | end
17 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/drawAffine.m:
--------------------------------------------------------------------------------
1 | function drawAffine(afnv, tsize, color, linewidth)
2 |
3 | rect= round(aff2image(afnv', tsize));
4 | inp = reshape(rect,2,4);
5 |
6 | topleft_r = inp(1,1);
7 | topleft_c = inp(2,1);
8 | botleft_r = inp(1,2);
9 | botleft_c = inp(2,2);
10 | topright_r = inp(1,3);
11 | topright_c = inp(2,3);
12 | botright_r = inp(1,4);
13 | botright_c = inp(2,4);
14 | p = line([topleft_c, topright_c], [topleft_r, topright_r]);
15 | set(p, 'Color', color); set(p, 'LineWidth', linewidth); set(p, 'LineStyle', '-');
16 | p = line([topright_c, botright_c], [topright_r, botright_r]);
17 | set(p, 'Color', color); set(p, 'LineWidth', linewidth); set(p, 'LineStyle', '-');
18 | p = line([botright_c, botleft_c], [botright_r, botleft_r]);
19 | set(p, 'Color', color); set(p, 'LineWidth', linewidth); set(p, 'LineStyle', '-');
20 | p = line([botleft_c, topleft_c], [botleft_r, topleft_r]);
21 | set(p, 'Color', color); set(p, 'LineWidth', linewidth); set(p, 'LineStyle', '-');
22 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/draw_sample.m:
--------------------------------------------------------------------------------
1 | function [outs] = draw_sample(mean_afnv, std_afnv)
2 | %draw transformation samples from a Gaussian distribution
3 |
4 | nsamples = size(mean_afnv, 1);
5 | MV_LEN = 6;
6 | mean_afnv(:, 1) = log(mean_afnv(:, 1));
7 | mean_afnv(:, 4) = log(mean_afnv(:, 4));
8 |
9 | outs = zeros([nsamples, MV_LEN]);
10 |
11 | outs(:,1:MV_LEN) = randn([nsamples, MV_LEN])*diag(std_afnv) ...
12 | + mean_afnv;
13 |
14 | outs(:,1) = exp(outs(:,1));
15 | outs(:,4) = exp(outs(:,4));
16 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/images_angle.m:
--------------------------------------------------------------------------------
1 | function a = images_angle(I1, I2)
2 | I1v = double(I1(:));
3 | I2v = double(I2(:));
4 | I1vn = I1v./sqrt(sum(I1v.^2));
5 | I2vn = I2v./sqrt(sum(I2v.^2));
6 | a = acosd(I1vn'*I2vn);
--------------------------------------------------------------------------------
/3rd_party/L1APG/normalizeTemplates.m:
--------------------------------------------------------------------------------
1 | function [A, A_norm] = normalizeTemplates(A)
2 | A_norm = sqrt(sum(A.*A))+1e-14;
3 | A = A./(ones(size(A,1),1)*A_norm);
--------------------------------------------------------------------------------
/3rd_party/L1APG/resample.m:
--------------------------------------------------------------------------------
1 | function [map_afnv, count] = resample(curr_samples, prob, afnv)
2 | %% resample with respect to observation likelihood
3 |
4 | nsamples = size(curr_samples, 1);
5 | if(sum(prob) == 0)
6 | map_afnv = ones(nsamples, 1)*afnv;
7 | count = zeros(size(prob));
8 | else
9 | prob = prob / sum(prob);
10 | count = round(nsamples * prob);
11 |
12 | map_afnv = [];
13 | for i=1:nsamples
14 | for j = 1:count(i)
15 | map_afnv = [map_afnv; curr_samples(i,:)];
16 | end
17 | end
18 | ns = sum(count); %number of resampled samples can be less or greater than nsamples
19 | map_afnv = [map_afnv; ones(nsamples-ns, 1)*afnv]; %if less
20 | map_afnv = map_afnv(1:nsamples, :); %if more
21 | end
22 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/showTemplates.m:
--------------------------------------------------------------------------------
1 | function img = showTemplates(img, A, A_mean, A_norm, tsize, nt)
2 | if(size(img,3) == 1)
3 | for i=1:3
4 | img_color(:,:,i) = img;
5 | end
6 | img = img_color;
7 | end
8 |
9 | for i=1:nt
10 | tt = A(:,i);
11 | tt = tt*A_norm(i)+A_mean(:,i);
12 | tt = reshape(tt, [tsize, 3]);
13 | for j=1:3
14 | img(end-tsize(1)+1:end,(i-1)*tsize(2)+1:i*tsize(2),j) = tt(:,:,j);
15 | end
16 | end
17 | %save templates templates;
18 |
19 |
--------------------------------------------------------------------------------
/3rd_party/L1APG/track_YOUTUBE.m:
--------------------------------------------------------------------------------
1 | function track_YOUTUBE
2 |
3 | close all;
4 | seq_name = 'FLUFFYJET_6';
5 | root_path = '/home/yuxiang/Projects/Multiview_Tracking/dataset/YOUTUBE/';
6 |
7 | %prepare the file name for each image
8 | filenames = textread(fullfile(root_path, seq_name, 'img', 'imlist.txt'), '%s');
9 | nframes = numel(filenames);
10 | s_frames = cell(nframes,1);
11 | for t = 1:nframes
12 | s_frames{t} = fullfile(root_path, seq_name, 'img', filenames{t});
13 | end
14 |
15 | % read initial bounding box
16 | filename = fullfile(root_path, seq_name, 'img', 'init.txt');
17 | fid = fopen(filename, 'r');
18 | bbox = fscanf(fid, '%f', 4);
19 | x1 = bbox(1);
20 | y1 = bbox(2);
21 | x2 = bbox(3);
22 | y2 = bbox(4);
23 | fclose(fid);
24 | img = imread(s_frames{1});
25 | model = L1APG_initialize(img, 1, x1, y1, x2, y2);
26 |
27 | % main function for tracking
28 | for t = 2:nframes
29 | img = imread(s_frames{t});
30 | [track_res, err, model] = L1APG_track_frame(img, model);
31 | disp(track_res);
32 | pause;
33 | end
--------------------------------------------------------------------------------
/3rd_party/L1APG/whitening.m:
--------------------------------------------------------------------------------
1 | function [out,a,b] = whitening(in)
2 | % whitening an image gallery
3 | %
4 | % in -- MNxC
5 | % out -- MNxC
6 |
7 | MN = size(in,1);
8 | a = mean(in);
9 | b = std(in)+1e-14;
10 | out = (in - ones(MN,1)*a) ./ (ones(MN,1)*b);
--------------------------------------------------------------------------------
/3rd_party/cs2/copyright.txt:
--------------------------------------------------------------------------------
1 | Copyright (C) 1995-2006 IG Systems, Inc.
2 |
3 | Permission to use for pure academic research or for evaluation purposes
4 | is granted provided that proper acknowledgments are given.
5 |
6 | For information regarding a commercial license, send e-mail to cs2@igsystems.com
7 |
8 | This software comes with no warranty, expressed or implied. By way
9 | of example, but not limitation, IG Systems, Inc. makes no
10 | representations of warranties of merchantability or fitness for
11 | any particular purpose or that the use of the software components
12 | or documentation will not infringe any patents, copyrights,
13 | trademarks, or other rights.
14 |
15 |
--------------------------------------------------------------------------------
/3rd_party/cs2/cs2mex.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/cs2/cs2mex.mexa64
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/Makefile:
--------------------------------------------------------------------------------
1 | CXX ?= g++
2 | CFLAGS = -Wall -Wconversion -O3 -fPIC
3 | SHVER = 2
4 | OS = $(shell uname)
5 |
6 | all: svm-train svm-predict svm-scale
7 |
8 | lib: svm.o
9 | if [ "$(OS)" = "Darwin" ]; then \
10 | SHARED_LIB_FLAG="-dynamiclib -Wl,-install_name,libsvm.so.$(SHVER)"; \
11 | else \
12 | SHARED_LIB_FLAG="-shared -Wl,-soname,libsvm.so.$(SHVER)"; \
13 | fi; \
14 | $(CXX) $${SHARED_LIB_FLAG} svm.o -o libsvm.so.$(SHVER)
15 |
16 | svm-predict: svm-predict.c svm.o
17 | $(CXX) $(CFLAGS) svm-predict.c svm.o -o svm-predict -lm
18 | svm-train: svm-train.c svm.o
19 | $(CXX) $(CFLAGS) svm-train.c svm.o -o svm-train -lm
20 | svm-scale: svm-scale.c
21 | $(CXX) $(CFLAGS) svm-scale.c -o svm-scale
22 | svm.o: svm.cpp svm.h
23 | $(CXX) $(CFLAGS) -c svm.cpp
24 | clean:
25 | rm -f *~ svm.o svm-train svm-predict svm-scale libsvm.so.$(SHVER)
26 |
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/Makefile.win:
--------------------------------------------------------------------------------
1 | #You must ensure nmake.exe, cl.exe, link.exe are in system path.
2 | #VCVARS32.bat
3 | #Under dosbox prompt
4 | #nmake -f Makefile.win
5 |
6 | ##########################################
7 | CXX = cl.exe
8 | CFLAGS = /nologo /O2 /EHsc /I. /D _WIN32 /D _CRT_SECURE_NO_DEPRECATE
9 | TARGET = windows
10 |
11 | all: $(TARGET)\svm-train.exe $(TARGET)\svm-predict.exe $(TARGET)\svm-scale.exe $(TARGET)\svm-toy.exe lib
12 |
13 | $(TARGET)\svm-predict.exe: svm.h svm-predict.c svm.obj
14 | $(CXX) $(CFLAGS) svm-predict.c svm.obj -Fe$(TARGET)\svm-predict.exe
15 |
16 | $(TARGET)\svm-train.exe: svm.h svm-train.c svm.obj
17 | $(CXX) $(CFLAGS) svm-train.c svm.obj -Fe$(TARGET)\svm-train.exe
18 |
19 | $(TARGET)\svm-scale.exe: svm.h svm-scale.c
20 | $(CXX) $(CFLAGS) svm-scale.c -Fe$(TARGET)\svm-scale.exe
21 |
22 | $(TARGET)\svm-toy.exe: svm.h svm.obj svm-toy\windows\svm-toy.cpp
23 | $(CXX) $(CFLAGS) svm-toy\windows\svm-toy.cpp svm.obj user32.lib gdi32.lib comdlg32.lib -Fe$(TARGET)\svm-toy.exe
24 |
25 | svm.obj: svm.cpp svm.h
26 | $(CXX) $(CFLAGS) -c svm.cpp
27 |
28 | lib: svm.cpp svm.h svm.def
29 | $(CXX) $(CFLAGS) -LD svm.cpp -Fe$(TARGET)\libsvm -link -DEF:svm.def
30 |
31 | clean:
32 | -erase /Q *.obj $(TARGET)\.
33 |
34 |
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/libsvmread.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/libsvm-3.20/matlab/libsvmread.mexa64
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/libsvmwrite.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/libsvm-3.20/matlab/libsvmwrite.mexa64
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/make.m:
--------------------------------------------------------------------------------
1 | % This make.m is for MATLAB and OCTAVE under Windows, Mac, and Unix
2 |
3 | try
4 | Type = ver;
5 | % This part is for OCTAVE
6 | if(strcmp(Type(1).Name, 'Octave') == 1)
7 | mex libsvmread.c
8 | mex libsvmwrite.c
9 | mex svmtrain.c ../svm.cpp svm_model_matlab.c
10 | mex svmpredict.c ../svm.cpp svm_model_matlab.c
11 | % This part is for MATLAB
12 | % Add -largeArrayDims on 64-bit machines of MATLAB
13 | else
14 | mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims libsvmread.c
15 | mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims libsvmwrite.c
16 | mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims svmtrain.c ../svm.cpp svm_model_matlab.c
17 | mex CFLAGS="\$CFLAGS -std=c99" -largeArrayDims svmpredict.c ../svm.cpp svm_model_matlab.c
18 | end
19 | catch
20 | fprintf('If make.m fails, please check README about detailed instructions.\n');
21 | end
22 |
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/svm_model_matlab.h:
--------------------------------------------------------------------------------
1 | const char *model_to_matlab_structure(mxArray *plhs[], int num_of_feature, struct svm_model *model);
2 | struct svm_model *matlab_matrix_to_model(const mxArray *matlab_struct, const char **error_message);
3 |
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/svmpredict.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/libsvm-3.20/matlab/svmpredict.mexa64
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/matlab/svmtrain.mexa64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/3rd_party/libsvm-3.20/matlab/svmtrain.mexa64
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/python/Makefile:
--------------------------------------------------------------------------------
1 | all = lib
2 |
3 | lib:
4 | make -C .. lib
5 |
--------------------------------------------------------------------------------
/3rd_party/libsvm-3.20/svm.def:
--------------------------------------------------------------------------------
1 | LIBRARY libsvm
2 | EXPORTS
3 | svm_train @1
4 | svm_cross_validation @2
5 | svm_save_model @3
6 | svm_load_model @4
7 | svm_get_svm_type @5
8 | svm_get_nr_class @6
9 | svm_get_labels @7
10 | svm_get_svr_probability @8
11 | svm_predict_values @9
12 | svm_predict @10
13 | svm_predict_probability @11
14 | svm_free_model_content @12
15 | svm_free_and_destroy_model @13
16 | svm_destroy_param @14
17 | svm_check_parameter @15
18 | svm_check_probability_model @16
19 | svm_set_print_string_function @17
20 | svm_get_sv_indices @18
21 | svm_get_nr_sv @19
22 |
--------------------------------------------------------------------------------
/DMAN.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/DMAN.png
--------------------------------------------------------------------------------
/ECO/VOT_integration/benchmark_wrapper/setup_tracker_paths.m:
--------------------------------------------------------------------------------
1 | function setup_tracker_paths(tracker_name)
2 |
3 | [wrapper_path, name, ext] = fileparts(mfilename('fullpath'));
4 |
5 | addpath(wrapper_path)
6 |
7 | cd_ind = strfind(wrapper_path, filesep());
8 | repo_path = wrapper_path(1:cd_ind(end-1)-1);
9 |
10 | addpath(repo_path);
11 | setup_paths();
--------------------------------------------------------------------------------
/ECO/VOT_integration/benchmark_wrapper/vot_initialize.m:
--------------------------------------------------------------------------------
1 | function [images, region] = vot_initialize()
2 |
3 | % read the image file paths
4 | fid = fopen('images.txt','r');
5 | images = textscan(fid, '%s', 'delimiter', '\n');
6 | fclose(fid);
7 |
8 | images = images{1};
9 |
10 | % read the region
11 | region = dlmread('region.txt');
12 | region = region(:);
13 | end
--------------------------------------------------------------------------------
/ECO/VOT_integration/benchmark_wrapper/vot_quit.m:
--------------------------------------------------------------------------------
1 | function vot_quit(regions)
2 |
3 | fid = fopen('output.txt', 'w');
4 |
5 | for i = 1:numel(regions)
6 | region = regions{i};
7 |
8 | if numel(region) == 1
9 | fprintf(fid, '%f\n', region);
10 | elseif numel(region) == 4
11 | fprintf(fid, '%f,%f,%f,%f\n', region(1), region(2), region(3), region(4));
12 | elseif numel(region) >= 6 && mod(numel(region), 2) == 0
13 | fprintf(fid, '%f,', region(1:end-1));
14 | fprintf(fid, '%f\n', region(end));
15 | else
16 | error('VOT: Illegal result format');
17 | end;
18 |
19 | end;
20 |
21 | fclose(fid);
--------------------------------------------------------------------------------
/ECO/VOT_integration/configuration_file/tracker_ECO.m:
--------------------------------------------------------------------------------
1 | % Copy this template configuration file to your VOT workspace.
2 | % Enter the full path to the ECO repository root folder.
3 |
4 | ECO_repo_path = ########
5 |
6 | tracker_label = 'ECO';
7 | tracker_command = generate_matlab_command('benchmark_tracker_wrapper(''ECO'', ''VOT2016_DEEP_settings'', true)', {[ECO_repo_path '/VOT_integration/benchmark_wrapper']});
8 | tracker_interpreter = 'matlab';
9 | tracker_trax = false;
--------------------------------------------------------------------------------
/ECO/demo_ECO.m:
--------------------------------------------------------------------------------
1 |
2 | % This demo script runs the ECO tracker with deep features on the
3 | % included "Crossing" video.
4 |
5 | % Add paths
6 | setup_paths();
7 |
8 | % Load video information
9 | video_path = 'sequences/Crossing';
10 | [seq, ground_truth] = load_video_info(video_path);
11 |
12 | % Run ECO
13 | results = testing_ECO(seq);
--------------------------------------------------------------------------------
/ECO/demo_ECO_HC.m:
--------------------------------------------------------------------------------
1 |
2 | % This demo script runs the ECO tracker with hand-crafted features on the
3 | % included "Crossing" video.
4 |
5 | % Add paths
6 | setup_paths();
7 |
8 | % Load video information
9 | video_path = 'sequences/Crossing';
10 | [seq, ground_truth] = load_video_info(video_path);
11 |
12 | % Run ECO
13 | results = testing_ECO_HC(seq);
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/compile.m:
--------------------------------------------------------------------------------
1 |
2 | % Compiles the mexResize function.
3 |
4 | % Try to use the included mex files first. If they do not work, you can try
5 | % to compile it yourself with this script. If the bellow mex command does
6 | % not work, try to link to your own OpenCV installation.
7 |
8 | if ispc
9 | mex -lopencv_core242 -lopencv_imgproc242 -L./ -I./ mexResize.cpp MxArray.cpp
10 | else
11 | mex -lopencv_core -lopencv_imgproc -L./ -I./ mexResize.cpp MxArray.cpp
12 | end
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/libopencv_core.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/libopencv_core.a
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/libopencv_imgproc.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/libopencv_imgproc.a
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/mexResize.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/mexResize.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv2/flann/dummy.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef OPENCV_FLANN_DUMMY_H_
3 | #define OPENCV_FLANN_DUMMY_H_
4 |
5 | namespace cvflann
6 | {
7 |
8 | #if (defined WIN32 || defined _WIN32 || defined WINCE) && defined CVAPI_EXPORTS
9 | __declspec(dllexport)
10 | #endif
11 | void dummyfunc();
12 |
13 | }
14 |
15 |
16 | #endif /* OPENCV_FLANN_DUMMY_H_ */
17 |
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv2/opencv_modules.hpp:
--------------------------------------------------------------------------------
1 | /*
2 | * ** File generated automatically, do not modify **
3 | *
4 | * This file defines the list of modules available in current build configuration
5 | *
6 | *
7 | */
8 |
9 | #define HAVE_OPENCV_CALIB3D
10 | #define HAVE_OPENCV_CONTRIB
11 | #define HAVE_OPENCV_CORE
12 | #define HAVE_OPENCV_FEATURES2D
13 | #define HAVE_OPENCV_FLANN
14 | #define HAVE_OPENCV_GPU
15 | #define HAVE_OPENCV_HIGHGUI
16 | #define HAVE_OPENCV_IMGPROC
17 | #define HAVE_OPENCV_LEGACY
18 | #define HAVE_OPENCV_ML
19 | #define HAVE_OPENCV_NONFREE
20 | #define HAVE_OPENCV_OBJDETECT
21 | #define HAVE_OPENCV_PHOTO
22 | #define HAVE_OPENCV_STITCHING
23 | #define HAVE_OPENCV_TS
24 | #define HAVE_OPENCV_VIDEO
25 | #define HAVE_OPENCV_VIDEOSTAB
26 |
27 |
28 |
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv_core242.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/opencv_core242.dll
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv_core242.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/opencv_core242.lib
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv_imgproc242.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/opencv_imgproc242.dll
--------------------------------------------------------------------------------
/ECO/external_libs/mexResize/opencv_imgproc242.lib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mexResize/opencv_imgproc242.lib
--------------------------------------------------------------------------------
/ECO/external_libs/mtimesx/mtimesx.c:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mtimesx/mtimesx.c
--------------------------------------------------------------------------------
/ECO/external_libs/mtimesx/mtimesx.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/mtimesx/mtimesx.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/.gitignore:
--------------------------------------------------------------------------------
1 | /videos/private/*png*.*
2 | /videos/private/*jpg8c.*
3 | /detector/models/*Dets.txt
4 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/README.md:
--------------------------------------------------------------------------------
1 | Documentation: https://pdollar.github.io/toolbox/
2 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/Contents.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/Contents.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/chnsCompute.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/chnsCompute.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/chnsPyramid.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/chnsPyramid.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/chnsScaling.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/chnsScaling.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/gradientHist.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/gradientHist.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/convConst.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/convConst.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/convConst.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/convConst.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/gradientMex.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/gradientMex.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/gradientMex.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/gradientMex.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/gradientMexNew.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/gradientMexNew.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/imPadMex.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/imPadMex.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/imPadMex.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/imPadMex.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/imResampleMex.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/imResampleMex.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/imResampleMex.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/imResampleMex.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/rgbConvertMex.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/rgbConvertMex.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/channels/private/rgbConvertMex.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/channels/private/rgbConvertMex.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/classify/adaBoostTrain.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/classify/adaBoostTrain.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/classify/binaryTreeTrain.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/classify/binaryTreeTrain.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/classify/fernsClfApply.m:
--------------------------------------------------------------------------------
1 | function [hs,probs] = fernsClfApply( data, ferns, inds )
2 | % Apply learned fern classifier.
3 | %
4 | % USAGE
5 | % [hs,probs] = fernsClfApply( data, ferns, [inds] )
6 | %
7 | % INPUTS
8 | % data - [NxF] N length F binary feature vectors
9 | % ferns - learned fern classification model
10 | % inds - [NxM] cached inds (from previous call to fernsInds)
11 | %
12 | % OUTPUTS
13 | % hs - [Nx1] predicted output labels
14 | % probs - [NxH] predicted output label probabilities
15 | %
16 | % EXAMPLE
17 | %
18 | % See also fernsClfTrain, fernsInds
19 | %
20 | % Piotr's Computer Vision Matlab Toolbox Version 2.50
21 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
22 | % Licensed under the Simplified BSD License [see external/bsd.txt]
23 | if( nargin<3 || isempty(inds) )
24 | inds = fernsInds(data,ferns.fids,ferns.thrs); end
25 | [N,M]=size(inds); H=ferns.H; probs=zeros(N,H);
26 | for m=1:M, probs = probs + ferns.pFern(inds(:,m),:,m); end
27 | if(ferns.bayes==0), probs=probs/M; end; [~,hs]=max(probs,[],2);
28 | end
29 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/classify/fernsInds.m:
--------------------------------------------------------------------------------
1 | function inds = fernsInds( data, fids, thrs )
2 | % Compute indices for each input by each fern.
3 | %
4 | % USAGE
5 | % inds = fernsInds( data, fids, thrs )
6 | %
7 | % INPUTS
8 | % data - [NxF] N length F binary feature vectors
9 | % fids - [MxS] feature ids for each fern for each depth
10 | % thrs - [MxS] threshold corresponding to each fid
11 | %
12 | % OUTPUTS
13 | % inds - [NxM] computed indices for each input by each fern
14 | %
15 | % EXAMPLE
16 | %
17 | % See also fernsClfTrain, fernsClfApply
18 | %
19 | % Piotr's Computer Vision Matlab Toolbox Version 2.50
20 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
21 | % Licensed under the Simplified BSD License [see external/bsd.txt]
22 |
23 | inds = fernsInds1( data, fids, thrs );
24 |
25 | %%% OLD MATLAB CODE -- NOW IN MEX
26 | % [M,S]=size(fids); N=size(data,1);
27 | % inds = zeros(N,M,'uint32');
28 | % for n=1:N
29 | % for m=1:M
30 | % for s=1:S
31 | % inds(n,m)=inds(n,m)*2;
32 | % if( data(n,fids(m,s))
3 |
4 |
5 | Piotr's Matlab Toolbox
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 | Sorry, your browser doesn't support frames.
20 | Go to menu.html for the documentation of all
21 | the Matlab functions.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/left.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/linux.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/matlabicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/matlabicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/mex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/mex.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/new.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/new.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/right.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/sgi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/sgi.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/simulinkicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/simulinkicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/solaris.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/solaris.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/up.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/videos/imagesAlignSeq.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/videos/imagesAlignSeq.html
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/doc/windows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/doc/windows.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfData.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/deprecated/clfData.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfDecTree.m:
--------------------------------------------------------------------------------
1 | function clf = clfDecTree( p, varargin )
2 | % Wrapper for treefit that makes decision trees compatible with nfoldxval.
3 | %
4 | % USAGE
5 | % clf = clfDecTree( p, varargin )
6 | %
7 | % INPUTS
8 | % p - data dimension
9 | % varargin- params for treefit, ex: 'splitmin'',2,'priorprob',ones(1,n)/n
10 | %
11 | % OUTPUTS
12 | % clf - model ready to be trained
13 | %
14 | % EXAMPLE
15 | %
16 | % See also NFOLDXVAL, TREEFIT, CLFDECTREEFWD, CLFDECTREETRAIN
17 | %
18 | % Piotr's Image&Video Toolbox Version 2.0
19 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
20 | % Please email me if you find bugs, or have suggestions or questions!
21 | % Licensed under the Lesser GPL [see external/lgpl.txt]
22 |
23 | clf.p = p;
24 | clf.type = 'dectree';
25 | clf.params = varargin;
26 |
27 | clf.funTrain = @clfDecTreeTrain;
28 | clf.funFwd = @clfDecTreeFwd;
29 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfDecTreeFwd.m:
--------------------------------------------------------------------------------
1 | function Y = clfDecTreeFwd( clf, X )
2 | % Apply the decision tree to data X.
3 | %
4 | % USAGE
5 | % Y = clfDecTreeFwd( clf, X )
6 | %
7 | % INPUTS
8 | % clf - trained model
9 | % X - nxp data array
10 | %
11 | % OUTPUTS
12 | % Y - nx1 vector of labels predicted according to the clf
13 | %
14 | % EXAMPLE
15 | %
16 | % See also CLFDECTREE
17 | %
18 | % Piotr's Image&Video Toolbox Version 2.0
19 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
20 | % Please email me if you find bugs, or have suggestions or questions!
21 | % Licensed under the Lesser GPL [see external/lgpl.txt]
22 |
23 | if(~strcmp(clf.type,'dectree')); error( ['incor. type: ' clf.type] ); end;
24 | if( size(X,2)~= clf.p ); error( 'Incorrect data dimension' ); end;
25 | T = clf.T;
26 |
27 | [Y,d,cnames] = treeval( T, X );
28 | Y = str2double( cnames ); % convert Y back to an int format
29 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfDecTreeTrain.m:
--------------------------------------------------------------------------------
1 | function clf = clfDecTreeTrain( clf, X, Y )
2 | % Train a decision tree classifier.
3 | %
4 | % USAGE
5 | % clf = clfDecTreeTrain( clf, X, Y )
6 | %
7 | % INPUTS
8 | % clf - model to be trained
9 | % X - nxp data array
10 | % Y - nx1 array of labels
11 | %
12 | % OUTPUTS
13 | % clf - a trained binary decision tree clf
14 | %
15 | % EXAMPLE
16 | %
17 | % See also CLFDECTREE
18 | %
19 | % Piotr's Image&Video Toolbox Version 2.0
20 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
21 | % Please email me if you find bugs, or have suggestions or questions!
22 | % Licensed under the Lesser GPL [see external/lgpl.txt]
23 |
24 | if(~strcmp(clf.type,'dectree')); error( ['incor. type: ' clf.type] ); end
25 | if( size(X,2)~= clf.p ); error( 'Incorrect data dimension' ); end
26 |
27 | % apply treefit
28 | Y = int2str2( Y ); % convert Y to string format for treefit.
29 | params = clf.params;
30 | T = treefit(X,Y,'method','classification',params{:});
31 |
32 | % apply cross validation (on training data), and prune
33 | [c,s,n,best] = treetest(T,'cross',X,Y);
34 | T = treeprune(T,'level',best);
35 |
36 | clf.T = T;
37 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfEcocCode.m:
--------------------------------------------------------------------------------
1 | function [C,nbits] = clfEcocCode( k )
2 | % Generates optimal ECOC codes when 3<=nclasses<=7.
3 | %
4 | % USAGE
5 | % [C,nbits] = clfEcocCode( k )
6 | %
7 | % INPUTS
8 | % k - number of classes
9 | %
10 | % OUTPUTS
11 | % C - code
12 | % nbits - number of bits
13 | %
14 | % EXAMPLE
15 | %
16 | % See also CLFECOC
17 | %
18 | % Piotr's Image&Video Toolbox Version 2.0
19 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
20 | % Please email me if you find bugs, or have suggestions or questions!
21 | % Licensed under the Lesser GPL [see external/lgpl.txt]
22 |
23 | if( k<3 || k>7 )
24 | error( 'method only works if k is small: 3<=k<=7'); end
25 |
26 | % create C
27 | C = ones(k,2^(k-1));
28 | for i=2:k
29 | partw = 2^(k-i); nparts = 2^(i-2);
30 | row = [zeros(1,partw) ones(1,partw)];
31 | row = repmat( row, 1, nparts );
32 | C(i,:) = row;
33 | end
34 | C = C(:,1:end-1);
35 | nbits = size(C,2);
36 |
37 | % alter C to have entries [-1,1]
38 | C(C==0)=-1;
39 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfKnn.m:
--------------------------------------------------------------------------------
1 | function clf = clfKnn( p, k, metric )
2 | % Create a k nearest neighbor classifier.
3 | %
4 | % USAGE
5 | % clf = clfKnn( p, k, metric )
6 | %
7 | % INPUTS
8 | % p - data dimension
9 | % k - number of nearest neighbors to look at
10 | % metric - [] distance function, squared euclidean by default
11 | %
12 | % OUTPUTS
13 | % clf - model ready to be trained
14 | %
15 | % EXAMPLE
16 | %
17 | % See also NFOLDXVAL, CLFKNNTRAIN, CLFKNNFWD, CLFKNNDIST
18 | %
19 | % Piotr's Image&Video Toolbox Version 2.0
20 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
21 | % Please email me if you find bugs, or have suggestions or questions!
22 | % Licensed under the Lesser GPL [see external/lgpl.txt]
23 |
24 | if( nargin<3 ); metric = []; end
25 |
26 | clf.p = p;
27 | clf.type = 'knn';
28 | clf.k = k;
29 | clf.metric = metric;
30 | clf.funTrain = @clfKnnTrain;
31 | clf.funFwd = @clfKnnFwd;
32 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfKnnFwd.m:
--------------------------------------------------------------------------------
1 | function Y = clfKnnFwd( clf, X )
2 | % Apply a k-nearest neighbor classifier to X.
3 | %
4 | % USAGE
5 | % Y = clfKnnFwd( clf, X )
6 | %
7 | % INPUTS
8 | % clf - trained model
9 | % X - nxp data array
10 | %
11 | % OUTPUTS
12 | % Y - nx1 vector of labels predicted according to the clf
13 | %
14 | % EXAMPLE
15 | %
16 | % See also CLFKNN, CLFKNNTRAIN
17 | %
18 | % Piotr's Image&Video Toolbox Version 2.0
19 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
20 | % Please email me if you find bugs, or have suggestions or questions!
21 | % Licensed under the Lesser GPL [see external/lgpl.txt]
22 |
23 | if( ~strcmp(clf.type,'knn')); error( ['incorrect type: ' clf.type] ); end
24 | if( size(X,2)~= clf.p ); error( 'Incorrect data dimension' ); end
25 |
26 | metric = clf.metric;
27 | Xtrain = clf.Xtrain;
28 | Ytrain = clf.Ytrain;
29 | k = clf.k;
30 |
31 | % get nearest neighbors for each X point
32 | D = pdist2( X, Xtrain, metric );
33 | Y = clfKnnDist( D, Ytrain, k );
34 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfKnnTrain.m:
--------------------------------------------------------------------------------
1 | function clf = clfKnnTrain( clf, X, Y )
2 | % Train a k nearest neighbor classifier (memorization).
3 | %
4 | % USAGE
5 | % clf = clfKnnTrain( clf, X, Y )
6 | %
7 | % INPUTS
8 | % clf - model to be trained
9 | % X - nxp data array
10 | % Y - nx1 array of labels
11 | %
12 | % OUTPUTS
13 | % clf - a trained k-nearest neighbor classifier.
14 | %
15 | % EXAMPLE
16 | %
17 | % See also CLFKNN, CLFKNNFWD
18 | %
19 | % Piotr's Image&Video Toolbox Version 2.0
20 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
21 | % Please email me if you find bugs, or have suggestions or questions!
22 | % Licensed under the Lesser GPL [see external/lgpl.txt]
23 |
24 | if( ~strcmp(clf.type,'knn')); error( ['incorrect type: ' clf.type] ); end;
25 | if( size(X,2)~= clf.p ); error( 'Incorrect data dimension' ); end;
26 |
27 | %%% error check
28 | n=size(X,1); Y=double(Y);
29 | [Y,er] = checkNumArgs( Y, [n 1], 0, 0 ); error(er);
30 |
31 | %%% training is memorization
32 | clf.Xtrain = X;
33 | clf.Ytrain = Y;
34 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/clfSvm.m:
--------------------------------------------------------------------------------
1 | function net = clfSvm(varargin)
2 | % Wrapper for svm that makes svm compatible with nfoldxval.
3 | %
4 | % Requires the SVM toolbox by Anton Schwaighofer.
5 | %
6 | % USAGE
7 | % net = clfSvm(varargin)
8 | %
9 | % INPUTS
10 | % see svm in SVM toolbox by Anton Schwaighofer.
11 | %
12 | % OUTPUTS
13 | % see svm in SVM toolbox by Anton Schwaighofer.
14 | %
15 | % EXAMPLE
16 | %
17 | % See also SVM, NFOLDXVAL
18 | %
19 | % Piotr's Image&Video Toolbox Version 2.0
20 | % Copyright 2008 Piotr Dollar. [pdollar-at-caltech.edu]
21 | % Please email me if you find bugs, or have suggestions or questions!
22 | % Licensed under the Lesser GPL [see external/lgpl.txt]
23 |
24 | net = svm( varargin{:} );
25 | net.funTrain = @svmtrain;
26 | net.funFwd = @svmfwd;
27 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/localsum_block.m:
--------------------------------------------------------------------------------
1 | % Calculates the sum in non-overlapping blocks of I of size dims.
2 | %
3 | % Similar to localsum except gets sum in non-overlapping windows.
4 | % Equivalent to doing localsum, and then subsampling (except more
5 | % efficient).
6 | %
7 | % USAGE
8 | % I = localsum_block( I, dims )
9 | %
10 | % INPUTS
11 | % I - matrix to compute sum over
12 | % dims - size of volume to compute sum over
13 | %
14 | % OUTPUTS
15 | % I - resulting array
16 | %
17 | % EXAMPLE
18 | % load trees; I=ind2gray(X,map);
19 | % I2 = localsum_block( I, 11 );
20 | % figure(1); im(I); figure(2); im(I2);
21 | %
22 | % See also LOCALSUM
23 |
24 | % Piotr's Image&Video Toolbox Version 1.5
25 | % Written and maintained by Piotr Dollar pdollar-at-cs.ucsd.edu
26 | % Please email me if you find bugs, or have suggestions or questions!
27 |
28 | function I = localsum_block( I, dims )
29 |
30 | I = nlfiltblock_sep( I, dims, @rnlfiltblock_sum );
31 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/deprecated/mode2.m:
--------------------------------------------------------------------------------
1 | % Returns the mode of a vector.
2 | %
3 | % Was mode not part of Matlab before?
4 | %
5 | % USAGE
6 | % y = mode2( x )
7 | %
8 | % INPUTS
9 | % x - vector of integers
10 | %
11 | % OUTPUTS
12 | % y - mode
13 | %
14 | % EXAMPLE
15 | % x = randint2( 1, 10, [1 3] )
16 | % mode(x), mode2( x )
17 | %
18 | % See also MODE
19 |
20 | % Piotr's Image&Video Toolbox Version 1.5
21 | % Written and maintained by Piotr Dollar pdollar-at-cs.ucsd.edu
22 | % Please email me if you find bugs, or have suggestions or questions!
23 |
24 | function y = mode2( x )
25 |
26 | wid = sprintf('Images:%s:obsoleteFunction',mfilename);
27 | warning(wid,[ '%s is obsolete in Piotr''s toolbox.\n MODE is its '...
28 | 'recommended replacement.'],upper(mfilename));
29 |
30 | y = mode( x );
31 |
32 | % [b,i,j] = unique(x);
33 | % [ mval, ind ] = max(hist(j,length(b)));
34 | % y = b(ind);
35 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/@template/char.m:
--------------------------------------------------------------------------------
1 | function s = char(tpl)
2 | %TEMPLATE Convert a template object in a one line description string
3 | % S = CHAR(TPL) is a class convertor from Template to a string, used
4 | % in online display.
5 | %
6 | % See also DISPLAY
7 |
8 | % Copyright (C) 2003 Guillaume Flandin
9 | % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
10 |
11 | s = ['Template Object: root ''',...
12 | tpl.root,''', ',...
13 | num2str(length(tpl.file)), ' files, ',...
14 | num2str(length(tpl.varkeys)), ' keys, ',...
15 | tpl.unknowns, ' unknowns.'];
16 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/@template/display.m:
--------------------------------------------------------------------------------
1 | function display(tpl)
2 | %TEMPLATE Display a template object in Matlab window
3 | % DISPLAY(TPL) displays informations about the content of template
4 | % object TPL:
5 | % Template Object: root '.', 2 files, 9 keys, comment unknowns.
6 | % root element of template files, number of template files, number of
7 | % keywords defined and the way of handling unknowns tags.
8 |
9 | % Copyright (C) 2003 Guillaume Flandin
10 | % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
11 |
12 | disp(' ');
13 | disp([inputname(1),' = ']);
14 | disp(' ');
15 | for i=1:prod(size(tpl))
16 | disp([blanks(length(inputname(1))+3) char(tpl(i))]);
17 | end
18 | disp(' ');
19 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/@template/parse.m:
--------------------------------------------------------------------------------
1 | function [tpl, str] = parse(tpl,target,handle,append)
2 | %TEMPLATE/PARSE Fill in replacement fields with the class properties
3 | % [TPL, STR] = PARSE(TPL,TARGET,HANDLE) fills in the replacement field
4 | % HANDLE using previously defined variables of template TPL and store
5 | % it in field TARGET. HANDLE can also be a cell array of field names.
6 | % Output is also provided in output STR (content of TARGET).
7 | % [TPL, STR] = PARSE(TPL,TARGET,HANDLE,APPEND) allows to specify if
8 | % TARGET field is reseted before being filled or if new content is
9 | % appended to the previous one.
10 |
11 | % Copyright (C) 2003 Guillaume Flandin
12 | % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
13 |
14 | narginchk(3,4);
15 | if nargin == 3
16 | append = 0;
17 | end
18 |
19 | if iscellstr(handle)
20 | for i=1:length(handle)
21 | [tpl, str] = subst(tpl,handle{i});
22 | tpl = set(tpl,'var',target,str);
23 | end
24 | elseif ischar(handle)
25 | [tpl, str] = subst(tpl,handle);
26 | if append
27 | tpl = set(tpl,'var',target,[get(tpl,'var',target) str]);
28 | else
29 | tpl = set(tpl,'var',target,str);
30 | end
31 | else
32 | error('[Template] Badly formed handle.');
33 | end
34 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/@template/private/loadtpl.m:
--------------------------------------------------------------------------------
1 | function tpl = loadtpl(tpl,handle)
2 | %TEMPLATE/LOADTPL Read a template from file
3 | % TPL = LOADTPL(TPL,HANDLE) read the template file associated with the
4 | % handle HANDLE in the template TPL and store it in the variable HANDLE.
5 |
6 | % Copyright (C) 2003 Guillaume Flandin
7 | % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
8 |
9 | if ~isempty(get(tpl,'var',handle))
10 | return;
11 | else
12 | ind = find(ismember(tpl.handles,handle));
13 | if isempty(ind)
14 | error('[Template] No such template handle.');
15 | else
16 | filename = tpl.file{ind};
17 | [fid, errmsg] = fopen(filename,'rt');
18 | if ~isempty(errmsg)
19 | error(sprintf('Cannot open template file %s.',filename));
20 | end
21 | tpl = set(tpl,'var',handle,fscanf(fid,'%c'));
22 | fclose(fid);
23 | end
24 | end
25 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/@template/private/subst.m:
--------------------------------------------------------------------------------
1 | function [tpl, str] = subst(tpl,handle)
2 | %TEMPLATE/SUBST Substitute a replacement field by its value
3 | % STR = SUBST(TPL,HANDLE) substitute all the known fields of variable HANDLE
4 | % in the template TPL.
5 |
6 | % Copyright (C) 2003 Guillaume Flandin
7 | % $Revision: 1.0 $Date: 2003/05/05 22:19:51 $
8 |
9 | tpl = loadtpl(tpl,handle);
10 |
11 | str = get(tpl,'var',handle);
12 | for i=1:length(tpl.varkeys)
13 | str = strrep(str, strcat('{',tpl.varkeys{i},'}'), tpl.varvals{i});
14 | end
15 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/Contents.m:
--------------------------------------------------------------------------------
1 | % M2HTML Toolbox - A Documentation Generator for Matlab in HTML
2 | % Version 1.4 16-Jun-2004
3 | %
4 | % M2HTML main functions.
5 | % m2html - Documentation System for Matlab M-files in HTML.
6 | % mdot - Wrapper to GraphViz's for dependency graphs.
7 | % mwizard - Graphical user interface for m2html.
8 | % private - Internal functions.
9 | %
10 | % Template toolbox.
11 | % @template - HTML template class
12 | %
13 | % Templates files.
14 | % templates/blue - Default HTML template.
15 | % templates/frame - Identical to but using frames.
16 | %
17 | % Others.
18 | % Changelog, GPL, INSTALL, LICENSE, README, TODO.
19 |
20 | % Copyright (C) 2003-2005 Guillaume Flandin
21 | % $Revision: 1.4 $Date: 2004/06/16 12:45:24 $
22 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/LICENSE:
--------------------------------------------------------------------------------
1 | M2HTML - Documentation System for Matlab .m files in HTML
2 | Copyright (C) 2003-2005 Guillaume Flandin
3 |
4 | This program is free software; you can redistribute it and/or
5 | modify it under the terms of the GNU General Public License
6 | as published by the Free Software Foundation; either version 2
7 | of the License, or any later version.
8 |
9 | This program is distributed in the hope that it will be useful,
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 | GNU General Public License for more details.
13 |
14 | You should have received a copy of the GNU General Public License
15 | along with this program; if not, write to the Free Software
16 | Foundation Inc, 59 Temple Pl. - Suite 330, Boston, MA 02111-1307, USA.
17 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/mwizard.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/mwizard.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/mwizard2.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/mwizard2.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/private/m2htmltoolbarimages.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/private/m2htmltoolbarimages.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/private/mexexts.m:
--------------------------------------------------------------------------------
1 | function [ext, platform] = mexexts
2 | %MEXEXTS List of Mex files extensions
3 | % MEXEXTS returns a cell array containing the Mex files platform
4 | % dependent extensions and another cell array containing the full names
5 | % of the corresponding platforms.
6 | %
7 | % See also MEX, MEXEXT
8 |
9 | % Copyright (C) 2003 Guillaume Flandin
10 | % $Revision: 1.0 $Date: 2003/29/04 17:33:43 $
11 |
12 | ext = {'.mexsol' '.mexhpux' '.mexhp7' '.mexrs6' '.mexsg' '.mexaxp' '.mexglx' ...
13 | '.mexlx' '.dll'};
14 |
15 | platform = {'SunOS' 'HP' 'HP700' 'IBM' 'SGI' 'Alpha' 'Linux x86' 'Linux' 'Windows'};
16 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/private/openfile.m:
--------------------------------------------------------------------------------
1 | function fid = openfile(filename,permission)
2 | %OPENFILE Open a file in read/write mode, catching errors
3 | % FID = OPENFILE(FILENAME,PERMISSION) opens file FILENAME
4 | % in PERMISSION mode ('r' or 'w') and return a file identifier FID.
5 | % File is opened in text mode: no effect on Unix but useful on Windows.
6 |
7 | % Copyright (C) 2004 Guillaume Flandin
8 | % $Revision: 1.1 $Date: 2004/05/05 17:14:09 $
9 |
10 | [fid, errmsg] = fopen(filename,[permission 't']);
11 | if ~isempty(errmsg)
12 | switch permission
13 | case 'r'
14 | error(sprintf('Cannot open %s in read mode.',filename));
15 | case 'w'
16 | error(sprintf('Cannot open %s in write mode.',filename));
17 | otherwise
18 | error(errmsg);
19 | end
20 | end
21 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/Thumbs.db:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/Thumbs.db
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/alpha.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/c++.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/c++.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/c.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/demoicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/demoicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/down.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/fortran.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/fortran.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/hp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/hp.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/left.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/linux.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/matlabicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/matlabicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/mex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/mex.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/pcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/pcode.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/right.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/sgi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/sgi.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/simulinkicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/simulinkicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/solaris.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/solaris.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/up.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/windows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/blue/windows.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/alpha.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/brain.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/brain.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/c++.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/c++.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/c.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/demoicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/demoicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/down.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/fortran.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/fortran.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/graph.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Dependency Graph for {MDIR}
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Dependency Graph for {MDIR}
16 |
17 |
18 |
19 |
22 |
23 |
24 |
Generated by m2html © 2005
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/hp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/hp.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/index.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Matlab Documentation by M2HTML
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 | This is a Matlab Documentation by M2HTML.
19 | Go to menu.html for the documentation of all
20 | the Matlab functions.
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/left.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/linux.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/matlabicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/matlabicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/mex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/mex.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/pcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/pcode.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/right.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/search.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Matlab Search Engine
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Search Engine
16 |
17 |
21 |
22 |
26 |
27 |
Generated on {DATE} by m2html © 2005
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/sgi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/sgi.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/simulinkicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/simulinkicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/solaris.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/solaris.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/up.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/windows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/brain/windows.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/alpha.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/c++.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/c++.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/c.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/demoicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/demoicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/down.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/favicon.ico
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/fortran.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/fortran.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/graph.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Dependency Graph for {MDIR}
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Dependency Graph for {MDIR}
16 |
17 |
18 |
19 |
22 |
23 |
24 |
Generated by m2html © 2003
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/hp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/hp.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/index.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Piotr's Matlab Toolbox
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
18 |
19 | Sorry, your browser doesn't support frames.
20 | Go to menu.html for the documentation of all
21 | the Matlab functions.
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/left.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/linux.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/matlabicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/matlabicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/mex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/mex.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/new.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/new.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/right.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/sgi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/sgi.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/simulinkicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/simulinkicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/solaris.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/solaris.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/up.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/windows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame-piotr/windows.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/alpha.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/alpha.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/c++.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/c++.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/c.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/c.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/demoicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/demoicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/down.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/fortran.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/fortran.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/graph.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Dependency Graph for {MDIR}
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Dependency Graph for {MDIR}
16 |
17 |
18 |
19 |
22 |
23 |
24 |
Generated by m2html © 2005
25 |
26 |
27 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/hp.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/hp.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/index.html:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Matlab Documentation by M2HTML
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
17 |
18 | This is a Matlab Documentation by M2HTML.
19 | Go to menu.html for the documentation of all
20 | the Matlab functions.
21 |
22 |
23 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/left.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/linux.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/linux.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/matlabicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/matlabicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/mex.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/mex.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/pcode.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/pcode.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/right.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/search.tpl:
--------------------------------------------------------------------------------
1 |
3 |
4 |
5 | Matlab Search Engine
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Search Engine
16 |
17 |
21 |
22 |
26 |
27 |
Generated on {DATE} by m2html © 2005
28 |
29 |
30 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/sgi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/sgi.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/simulinkicon.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/simulinkicon.gif
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/solaris.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/solaris.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/up.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/up.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/windows.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/m2html/templates/frame/windows.png
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/external/other/multiprod.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/external/other/multiprod.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/filters/FbDoG.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/filters/FbDoG.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/filters/FbGabor.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/filters/FbGabor.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/images.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/images.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/movieToImages.m:
--------------------------------------------------------------------------------
1 | function I = movieToImages( M )
2 | % Creates a stack of images from a matlab movie M.
3 | %
4 | % Repeatedly calls frame2im. Useful for playback with playMovie.
5 | %
6 | % USAGE
7 | % I = movieToImages( M )
8 | %
9 | % INPUTS
10 | % M - a matlab movie
11 | %
12 | % OUTPUTS
13 | % I - MxNxT array (of images)
14 | %
15 | % EXAMPLE
16 | % load( 'images.mat' ); [X,map]=gray2ind(video(:,:,1));
17 | % M = fevalArrays( video, @(x) im2frame(gray2ind(x),map) );
18 | % I = movieToImages(M); playMovie(I);
19 | %
20 | % See also PLAYMOVIE
21 | %
22 | % Piotr's Computer Vision Matlab Toolbox Version 2.0
23 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
24 | % Licensed under the Simplified BSD License [see external/bsd.txt]
25 |
26 | I = fevalArrays( M, @frame2Ii );
27 |
28 | function I = frame2Ii( F )
29 |
30 | [I,map] = frame2im( F );
31 | if( isempty(map) )
32 | if( size(I,3)==3 )
33 | classname = class( I );
34 | I = sum(I,3)/3;
35 | I = feval( classname, I );
36 | end
37 | else
38 | I = ind2gray( I, map );
39 | end
40 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/assignToBins1.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/assignToBins1.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/assignToBins1.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/assignToBins1.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/histc2c.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/histc2c.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/histc2c.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/histc2c.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/imtransform2_c.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/imtransform2_c.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/imtransform2_c.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/imtransform2_c.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_max.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_max.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_max.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_max.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_sum.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_sum.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_sum.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/images/private/nlfiltersep_sum.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/c.m:
--------------------------------------------------------------------------------
1 | % clc - clear command window.
2 | %
3 | % USAGE
4 | % c
5 | %
6 | % INPUTS
7 | %
8 | % OUTPUTS
9 | %
10 | % EXAMPLE
11 | %
12 | % See also CLC, CC, CCC
13 | %
14 | % Piotr's Computer Vision Matlab Toolbox Version 1.5
15 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
16 | % Licensed under the Simplified BSD License [see external/bsd.txt]
17 |
18 | clc
19 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/cc.m:
--------------------------------------------------------------------------------
1 | % close all, clc
2 | %
3 | % USAGE
4 | % cc
5 | %
6 | % INPUTS
7 | %
8 | % OUTPUTS
9 | %
10 | % EXAMPLE
11 | %
12 | % See also C, CCC
13 | %
14 | % Piotr's Computer Vision Matlab Toolbox Version 1.5
15 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
16 | % Licensed under the Simplified BSD License [see external/bsd.txt]
17 |
18 | close all; clc
19 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/ccc.m:
--------------------------------------------------------------------------------
1 | % clear, close all, clc, clear global
2 | %
3 | % USAGE
4 | % ccc
5 | %
6 | % INPUTS
7 | %
8 | % OUTPUTS
9 | %
10 | % EXAMPLE
11 | %
12 | % See also C, CC
13 | %
14 | % Piotr's Computer Vision Matlab Toolbox Version 1.5
15 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
16 | % Licensed under the Simplified BSD License [see external/bsd.txt]
17 |
18 | clear; close all; clc; clear all;
19 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/diskFill.m:
--------------------------------------------------------------------------------
1 | function diskFill( tDir, nGig )
2 | % Fill a harddisk with garbage files (useful before discarding disk).
3 | %
4 | % USAGE
5 | % diskFill( tDir, nGig )
6 | %
7 | % INPUTS
8 | % tDir - target directory to fill with garbage
9 | % nGig - maximum number of gigabytes to write to disk
10 | %
11 | % OUTPUTS
12 | %
13 | % EXAMPLE
14 | % diskFill( 'k:', 500 )
15 | %
16 | % See also
17 | %
18 | % Piotr's Computer Vision Matlab Toolbox Version 2.61
19 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
20 | % Licensed under the Simplified BSD License [see external/bsd.txt]
21 |
22 | nm = sprintf('%s/garbage_%s_%05i_%%05i.mat',tDir,date,round(rand*10^5));
23 | tid = ticStatus();
24 | for i=1:nGig
25 | % write up to 1 GB of garbage bytes in chunks of 1 MB
26 | fid=fopen(sprintf(nm,i),'w'); mb=2^20; n=0; o=mb;
27 | while(n<2^30 && o==mb), o=fwrite(fid,rand(mb,1)); n=n+o; end
28 | try fclose(fid); catch, end; tocStatus( tid, i/nGig ); %#ok
29 | % if write failed (k<1), disk is presumably full
30 | if( o
22 | f=fopen([jobId '-done'],'w'); fclose(f);
23 | end
24 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/num2strs.m:
--------------------------------------------------------------------------------
1 | function Y = num2strs( X, varargin )
2 | % Applies num2str to each element of an array X.
3 | %
4 | % USAGE
5 | % Y = num2strs( X, [varargin] )
6 | %
7 | % INPUTS
8 | % X - array of number to convert to strings
9 | % varargin - [] additional input to num2str
10 | %
11 | % OUTPUTS
12 | % Y - cell array of strings
13 | %
14 | % EXAMPLE
15 | % Y = num2strs( [1.3 2.6; 3 11] )
16 | %
17 | % See also NUM2STR
18 | %
19 | % Piotr's Computer Vision Matlab Toolbox Version 1.5
20 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
21 | % Licensed under the Simplified BSD License [see external/bsd.txt]
22 |
23 | Y = cell(size(X));
24 | for i=1:numel(X)
25 | Y{i} = num2str( X(i), varargin{:} );
26 | end
27 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/plotGaussEllipses.m:
--------------------------------------------------------------------------------
1 | function hs = plotGaussEllipses( mus, Cs, rad )
2 | % Plots 2D ellipses derived from 2D Gaussians specified by mus & Cs.
3 | %
4 | % USAGE
5 | % hs = plotGaussEllipses( mus, Cs, [rad] )
6 | %
7 | % INPUTS
8 | % mus - k x 2 matrix of means
9 | % Cs - 2 x 2 x k covariance matricies
10 | % rad - [2] Number of std to create the ellipse to
11 | %
12 | % OUTPUTS
13 | % hs - handles to ellipses
14 | %
15 | % EXAMPLE
16 | % plotGaussEllipses( [ 10 10; 10 10 ], cat(3,eye(2),eye(2)*2) );
17 | %
18 | % See also PLOTELLIPSE, GAUSS2ELLIPSE
19 | %
20 | % Piotr's Computer Vision Matlab Toolbox Version 2.0
21 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
22 | % Licensed under the Simplified BSD License [see external/bsd.txt]
23 |
24 | if (nargin<3 || isempty(rad) ); rad=2; end
25 | colors = ['b', 'g', 'r', 'c', 'm', 'y', 'k']; nc = length(colors);
26 |
27 | washeld = ishold; if (~washeld); hold('on'); end
28 | hs = zeros( size(mus,1),1 );
29 | for i=1:size( mus,1)
30 | [ cRow, ccol, ra, rb, phi ] = gauss2ellipse( mus(i,:), Cs(:,:,i), rad );
31 | hs(i)=plotEllipse( cRow, ccol, ra, rb, phi, colors( mod(i-1,nc)+1) );
32 | end
33 | if (~washeld); hold('off'); end
34 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h015.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h015.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h020.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h020.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h025.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h025.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h030.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h030.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h035.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h035.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h050.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/char2img_h050.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/dijkstra1.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/dijkstra1.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/private/dijkstra1.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/matlab/private/dijkstra1.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/randint2.m:
--------------------------------------------------------------------------------
1 | function R = randint2( m, n, range )
2 | % Faster but restricted version of randint.
3 | %
4 | % Generate matrix of uniformly distributed random integers.
5 | % R=randint2(m,n,range) generates an m-by-n matrix of random integers
6 | % between [range(1), range(2)]. Note that randint is part of the
7 | % 'Communications Toolbox' and may not be available on all systems.
8 | %
9 | % To test speed:
10 | % tic, for i=1:1000; R = randint( 100, 10, [0 10] ); end; toc
11 | % tic, for i=1:1000; R = randint2( 100, 10, [0 10] ); end; toc
12 | %
13 | % USAGE
14 | % R = randint2( m, n, range )
15 | %
16 | % INPUTS
17 | % m - m rows
18 | % n - n cols
19 | % range - range of ints
20 | %
21 | % OUTPUTS
22 | % R - mxn matrix of integers
23 | %
24 | % EXAMPLE
25 | % R = randint2( 2, 5, [0 1] )
26 | %
27 | % See also RANDINT
28 | %
29 | % Piotr's Computer Vision Matlab Toolbox Version 2.12
30 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
31 | % Licensed under the Simplified BSD License [see external/bsd.txt]
32 |
33 | R = rand( m, n );
34 | R = range(1) + floor( (range(2)-range(1)+1)*R );
35 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/subsToArray.m:
--------------------------------------------------------------------------------
1 | function I = subsToArray( subs, vals, siz, fillVal )
2 | % Converts subs/vals image representation to array representation.
3 | %
4 | % Constructs array from subs/vals representation. Similar to Matlab's
5 | % sparse command, except doesn't actually produce a sparse matrix. Uses
6 | % different conventions as well.
7 | %
8 | % USAGE
9 | % I = subsToArray( subs, vals, siz, [fillVal] )
10 | %
11 | % INPUTS
12 | % subs - subscripts of point locations (n x d)
13 | % vals - values at point locations (n x 1)
14 | % siz - image size vector (1xd) - must fully contain subs
15 | % fillVal - [0] value to fill array with at nonspecified locs
16 | %
17 | % OUTPUTS
18 | % I - array of size siz
19 | %
20 | % EXAMPLE
21 | %
22 | % See also SUB2IND2, SPARSE
23 | %
24 | % Piotr's Computer Vision Matlab Toolbox Version 2.0
25 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
26 | % Licensed under the Simplified BSD License [see external/bsd.txt]
27 |
28 | if( nargin<4 || isempty(fillVal) ); fillVal=0; end
29 |
30 | inds = sub2ind2( siz, subs );
31 | I = repmat( fillVal, siz );
32 | I(inds) = vals;
33 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/matlab/tpsRandom.m:
--------------------------------------------------------------------------------
1 | function w = tpsRandom( LnInv, bendE )
2 | % Obtain a random warp with the same bending energy as the original.
3 | %
4 | % USAGE
5 | % w = tpsRandom( LnInv, bendE )
6 | %
7 | % INPUTS
8 | % LnInv - [see tpsGetWarp] bookstein warping parameters
9 | % bendE - amount of bening energy for random warp to have
10 | %
11 | % OUTPUTS
12 | % w - nonlinear component of warp for use in tpsInterpolate
13 | %
14 | % EXAMPLE
15 | %
16 | % See also TPSGETWARP
17 | %
18 | % Piotr's Computer Vision Matlab Toolbox Version 2.0
19 | % Copyright 2014 Piotr Dollar. [pdollar-at-gmail.com]
20 | % Licensed under the Simplified BSD License [see external/bsd.txt]
21 |
22 | n = size(LnInv,1);
23 | u = rand(n-3,1) - .5;
24 | u = u / norm(u);
25 | u = [u; 0; 0; 0];
26 |
27 | % get U, sig, sigInv, requires some fanangling
28 | [U,sig] = eig(LnInv);
29 | U = real(U); sig=real(sig);
30 | sig( abs(sig)<.000001)=0;
31 | %sigInv = sig;
32 | %sigInv(abs(sig)>.000001) = 1./sigInv(abs(sig)>.000001);
33 |
34 | % get w (and v?)
35 | %v = sqrt(bendE)* U * sqrt(sigInv) * u;
36 | w = sqrt(bendE)* U * sqrt(sig) * u;
37 |
38 | % % should be eye(N) with 3 0's
39 | % sqrt(sigInv) * U' * LnInv * U * sqrt(sigInv)
40 | % % should be equal
41 | % v' * LnInv * v, bendE
42 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/Contents.m:
--------------------------------------------------------------------------------
1 | % VIDEOS
2 | % See also
3 | %
4 | % Behavior annotation for seq files:
5 | % behaviorAnnotator - Caltech Behavior Annotator.
6 | % behaviorData - Retrieve and manipulate behavior annotation of a video.
7 | %
8 | % Seq files [custom codec free video format]:
9 | % seqIo - Utilities for reading and writing seq files.
10 | % seqReaderPlugin - Plugin for seqIo and videoIO to allow reading of seq files.
11 | % seqWriterPlugin - Plugin for seqIo and videoIO to allow writing of seq files.
12 | % seqPlayer - Simple GUI to play seq files.
13 | %
14 | % Image and sequence alignment:
15 | % imagesAlign - Fast and robust estimation of homography relating two images.
16 | % imagesAlignSeq - Stabilize image sequence using coarse optical flow estimation.
17 | %
18 | % Miscellaneous:
19 | % kernelTracker - Kernel Tracker from Comaniciu, Ramesh and Meer PAMI 2003.
20 | % opticalFlow - Coarse-to-fine optical flow using Lucas&Kanade or Horn&Schunck.
21 |
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/imagesAlignSeq.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/imagesAlignSeq.m
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/opticalFlowTest.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/opticalFlowTest.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/peds30-seek.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/peds30-seek.mat
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/peds30.seq:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/peds30.seq
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/ktComputeW_c.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/ktComputeW_c.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/ktComputeW_c.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/ktComputeW_c.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/ktHistcRgb_c.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/ktHistcRgb_c.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/ktHistcRgb_c.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/ktHistcRgb_c.mexw64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/opticalFlowHsMex.mexmaci64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/opticalFlowHsMex.mexmaci64
--------------------------------------------------------------------------------
/ECO/external_libs/pdollar_toolbox/videos/private/opticalFlowHsMex.mexw64:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/external_libs/pdollar_toolbox/videos/private/opticalFlowHsMex.mexw64
--------------------------------------------------------------------------------
/ECO/feature_extraction/average_feature_region.m:
--------------------------------------------------------------------------------
1 | function [ region_image ] = average_feature_region(im, region_size)
2 | % compute cell wise averages, where a cell is a region_size*region_sized
3 | % region in the image. Input can be uint8t, single or double matrices
4 | % of arbitrary dimension
5 |
6 | region_area = region_size.^2;
7 |
8 | if isa(im,'double') || isa(im,'single') || isa(im,'gpuArray')
9 | maxval = 1.0;
10 | elseif isa(im,'unit8')
11 | maxval = 255;
12 | end
13 |
14 | % compute the integral image
15 | iImage = integralVecImage(im);
16 |
17 | % region indices
18 | i1 = (region_size:region_size:size(im,1)) + 1;
19 | i2 = (region_size:region_size:size(im,2)) + 1;
20 |
21 | % sum over region, divided by number of elements, and normalize to [0,1]
22 | % range if integer image
23 | region_image = (iImage(i1,i2,:,:) - iImage(i1,i2-region_size,:,:) - iImage(i1-region_size,i2,:,:) + iImage(i1-region_size,i2-region_size,:,:)) ./ (region_area * maxval);
24 |
25 | end
26 |
27 |
--------------------------------------------------------------------------------
/ECO/feature_extraction/get_feature_extract_info.m:
--------------------------------------------------------------------------------
1 | function extract_info = get_feature_extract_info(features)
2 |
3 | % Find used image sample size
4 | extract_info.img_sample_sizes = {};
5 | extract_info.img_input_sizes = {};
6 | for feat_ind = 1:length(features)
7 | % if not equals any previously stored size
8 | if ~any(cellfun(@(sz) isequal(features{feat_ind}.img_sample_sz, sz), extract_info.img_sample_sizes))
9 | extract_info.img_sample_sizes{end+1} = features{feat_ind}.img_sample_sz;
10 | extract_info.img_input_sizes{end+1} = features{feat_ind}.img_input_sz;
11 | end
12 | end
--------------------------------------------------------------------------------
/ECO/feature_extraction/get_fhog.m:
--------------------------------------------------------------------------------
1 | function [ feature_image ] = get_fhog( im, fparam, gparam )
2 | % Extract FHOG features using pdollar toolbox.
3 | % Currently assumes 9 gradient orientations.
4 |
5 | if ~isfield(fparam, 'nOrients')
6 | fparam.nOrients = 9;
7 | end
8 |
9 | [im_height, im_width, num_im_chan, num_images] = size(im);
10 | feature_image = zeros(floor(im_height/gparam.cell_size), floor(im_width/gparam.cell_size), fparam.nDim, num_images, 'single');
11 |
12 | for k = 1:num_images
13 | hog_image = fhog(single(im(:,:,:,k)), gparam.cell_size, fparam.nOrients);
14 |
15 | %the last dimension is all 0 so we can discard it
16 | feature_image(:,:,:,k) = hog_image(:,:,1:end-1);
17 | end
18 | end
--------------------------------------------------------------------------------
/ECO/feature_extraction/load_cnn.m:
--------------------------------------------------------------------------------
1 | function net = load_cnn(fparams, im_size)
2 |
3 | net = load(['networks/' fparams.nn_name]);
4 | net = vl_simplenn_tidy(net);
5 | net.layers = net.layers(1:max(fparams.output_layer));
6 |
7 | if strcmpi(fparams.input_size_mode, 'cnn_default')
8 | base_input_sz = net.meta.normalization.imageSize(1:2);
9 | elseif strcmpi(fparams.input_size_mode, 'adaptive')
10 | base_input_sz = im_size(1:2);
11 | else
12 | error('Unknown input_size_mode');
13 | end
14 |
15 | net.meta.normalization.imageSize(1:2) = round(base_input_sz .* fparams.input_size_scale);
16 | net.meta.normalization.averageImageOrig = net.meta.normalization.averageImage;
17 |
18 | if isfield(net.meta,'inputSize')
19 | net.meta.inputSize = base_input_sz;
20 | end
21 |
22 | if size(net.meta.normalization.averageImage,1) > 1 || size(net.meta.normalization.averageImage,2) > 1
23 | net.meta.normalization.averageImage = imresize(single(net.meta.normalization.averageImage), net.meta.normalization.imageSize(1:2));
24 | end
25 |
26 | net.info = vl_simplenn_display(net);
27 | end
--------------------------------------------------------------------------------
/ECO/feature_extraction/lookup_tables/CNnorm.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/feature_extraction/lookup_tables/CNnorm.mat
--------------------------------------------------------------------------------
/ECO/feature_extraction/lookup_tables/intensityChannelNorm11.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/feature_extraction/lookup_tables/intensityChannelNorm11.mat
--------------------------------------------------------------------------------
/ECO/feature_extraction/lookup_tables/intensityChannelNorm16.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/feature_extraction/lookup_tables/intensityChannelNorm16.mat
--------------------------------------------------------------------------------
/ECO/feature_extraction/lookup_tables/intensityChannelNorm6.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/feature_extraction/lookup_tables/intensityChannelNorm6.mat
--------------------------------------------------------------------------------
/ECO/feature_extraction/sample_patch.m:
--------------------------------------------------------------------------------
1 | function resized_patch = sample_patch(im, pos, sample_sz, output_sz, gparams)
2 |
3 | if nargin < 4
4 | output_sz = [];
5 | end
6 | if nargin < 5
7 | gparams.use_mexResize = true;
8 | end
9 |
10 | %make sure the size is not to small
11 | sample_sz = max(sample_sz, 2);
12 |
13 | xs = floor(pos(2)) + (1:sample_sz(2)) - floor(sample_sz(2)/2);
14 | ys = floor(pos(1)) + (1:sample_sz(1)) - floor(sample_sz(1)/2);
15 |
16 | %check for out-of-bounds coordinates, and set them to the values at
17 | %the borders
18 | xs(xs < 1) = 1;
19 | ys(ys < 1) = 1;
20 | xs(xs > size(im,2)) = size(im,2);
21 | ys(ys > size(im,1)) = size(im,1);
22 |
23 | %extract image
24 | im_patch = im(ys, xs, :);
25 |
26 | if isempty(output_sz) || isequal(sample_sz(:), output_sz(:))
27 | resized_patch = im_patch;
28 | else
29 | if gparams.use_mexResize
30 | resized_patch = mexResize(im_patch, output_sz, 'auto');
31 | else
32 | resized_patch = imresize(im_patch, output_sz, 'bilinear', 'Antialiasing',false);
33 | end
34 | end
35 |
36 | end
37 |
38 |
--------------------------------------------------------------------------------
/ECO/feature_extraction/set_cnn_input_size.m:
--------------------------------------------------------------------------------
1 | function net = set_cnn_input_size(net, im_size)
2 |
3 | net.meta.normalization.imageSize(1:2) = round(im_size(1:2));
4 | net.meta.normalization.averageImage = imresize(single(net.meta.normalization.averageImageOrig), net.meta.normalization.imageSize(1:2));
5 |
6 | net.info = vl_simplenn_display(net);
7 | end
--------------------------------------------------------------------------------
/ECO/feature_extraction/table_lookup.m:
--------------------------------------------------------------------------------
1 | function out=table_lookup(im,table)
2 |
3 | if isa(im,'uint8')
4 | im = int32(im);
5 | end;
6 |
7 | [im_height, im_width, num_im_chan, num_images] = size(im);
8 |
9 | den = int32(8);
10 | fac = int32(32);
11 | offset = int32(1);
12 |
13 | if num_im_chan == 3
14 | RR=im(:,:,1,:);GG=im(:,:,2,:);BB=im(:,:,3,:);
15 | index_im = offset + idivide(RR,den) + fac*idivide(GG,den) + fac*fac*idivide(BB,den);
16 | out = permute(reshape(table(index_im(:),:), im_height, im_width, num_images, size(table,2)), [1 2 4 3]);
17 | else
18 | out = permute(reshape(table(im(:)+1,:), im_height, im_width, num_images, size(table,2)), [1 2 4 3]);
19 | end;
20 |
--------------------------------------------------------------------------------
/ECO/implementation/conjugate_gradient/diag_precond.m:
--------------------------------------------------------------------------------
1 | function hf_out = diag_precond(hf, M_diag)
2 |
3 | % This is the preconditioner operation in Conjugate Gradient
4 |
5 | hf_out = cellfun(@rdivide, hf, M_diag, 'uniformoutput',false); %hf;
6 |
7 | end
--------------------------------------------------------------------------------
/ECO/implementation/conjugate_gradient/inner_product_cdcf.m:
--------------------------------------------------------------------------------
1 | function ip = inner_product_cdcf(xf, yf)
2 |
3 | % Computes the inner product between two filters.
4 |
5 | if size(xf,1) == 1
6 | % Only the filter
7 | ip_cell = cellfun(@(xf, yf) real(2*(xf(:)' * yf(:)) - reshape(xf(:,end,:), [], 1, 1)' * reshape(yf(:,end,:), [], 1, 1)), xf, yf, 'uniformoutput', false');
8 | ip = sum(cell2mat(ip_cell));
9 | else
10 | % Joint inner product with the filter and projection matrix
11 | ip_cell = cellfun(@(xf, yf) real(2*(xf(:)' * yf(:)) - reshape(xf(:,end,:), [], 1, 1)' * reshape(yf(:,end,:), [], 1, 1)), xf(1,1,:), yf(1,1,:), 'uniformoutput', false);
12 | ip = sum(cell2mat(ip_cell)) + sum(cellfun(@(xf, yf) real(xf(:)' * yf(:)), xf(2,1,:), yf(2,1,:)));
13 | end
--------------------------------------------------------------------------------
/ECO/implementation/conjugate_gradient/norm_cdcf.m:
--------------------------------------------------------------------------------
1 | function nx = norm_cdcf(xf)
2 |
3 | % Computes the norm of the filter.
4 |
5 | nx = sqrt(inner_product_cdcf(xf,xf));
--------------------------------------------------------------------------------
/ECO/implementation/dim_reduction/project_sample.m:
--------------------------------------------------------------------------------
1 | function x = project_sample(x, P)
2 |
3 | if ~isempty(P)
4 | x = cellfun(@(x, P) permute(mtimesx(permute(x, [4 3 1 2]), P, 'speed'), [3 4 2 1]), x, P, 'uniformoutput', false);
5 | end
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/cfft2.m:
--------------------------------------------------------------------------------
1 | function xf = cfft2(x)
2 |
3 | % calculate output size
4 | in_sz = size(x);
5 |
6 | % if both dimensions are odd
7 | if all(mod(in_sz(1:2), 2) == 1)
8 | xf = fftshift(fftshift(fft2(x), 1), 2);
9 | else
10 | out_sz = in_sz;
11 | out_sz(1:2) = out_sz(1:2) + mod(out_sz(1:2)+1,2);
12 |
13 | % allocate
14 | xf = complex(zeros(out_sz, 'single'));
15 |
16 | xf(1:in_sz(1),1:in_sz(2),:,:) = fftshift(fftshift(fft2(x), 1), 2);
17 |
18 | if out_sz(1) ~= in_sz(1)
19 | xf(end,:,:,:) = conj(fliplr(xf(1,:,:,:)));
20 | end
21 | if out_sz(2) ~= in_sz(2)
22 | xf(:,end,:,:) = conj(flipud(xf(:,1,:,:)));
23 | end
24 | end
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/cifft2.m:
--------------------------------------------------------------------------------
1 | function x = cifft2(xf)
2 |
3 | x = ifft2(ifftshift(ifftshift(xf, 1), 2), 'symmetric');
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/compact_fourier_coeff.m:
--------------------------------------------------------------------------------
1 | function xf = compact_fourier_coeff(xf)
2 |
3 | % Creates a compact fourier series representation by removing the strict right
4 | % half plane.
5 |
6 | if iscell(xf)
7 | xf = cellfun(@(xf) xf(:,1:(size(xf,2)+1)/2,:), xf, 'uniformoutput', false);
8 | else
9 | xf = xf(:,1:(size(xf,2)+1)/2,:);
10 | end
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/cubic_spline_fourier.m:
--------------------------------------------------------------------------------
1 | function bf = cubic_spline_fourier(f, a)
2 |
3 | % The continuous Fourier transform of a cubic spline kernel.
4 |
5 | bf = -(- 12*a + 12*exp(-pi*f*2i) + 12*exp(pi*f*2i) + 6*a*exp(-pi*f*4i) + ...
6 | 6*a*exp(pi*f*4i) + f.*(pi*exp(-pi*f*2i)*12i) - f.*(pi*exp(pi*f*2i)*12i) + ...
7 | a*f.*(pi*exp(-pi*f*2i)*16i) - a*f.*(pi*exp(pi*f*2i)*16i) + ...
8 | a*f.*(pi*exp(-pi*f*4i)*4i) - a*f.*(pi*exp(pi*f*4i)*4i) - 24)./(16*f.^4*pi^4);
9 |
10 | bf(f == 0) = 1;
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/full_fourier_coeff.m:
--------------------------------------------------------------------------------
1 | function xf = full_fourier_coeff(xf)
2 |
3 | % Reconstructs the full Fourier series coefficients.
4 |
5 | if iscell(xf)
6 | xf = cellfun(@(xf) cat(2, xf, conj(rot90(xf(:,1:end-1,:), 2))), xf, 'uniformoutput', false);
7 | else
8 | xf = cat(2, xf, conj(rot90(xf(:,1:end-1,:), 2)));
9 | end
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/resizeDFT.m:
--------------------------------------------------------------------------------
1 | function resizeddft = resizeDFT(inputdft, desiredLen)
2 |
3 | % Resizes a one-dimensional DFT to the desired length.
4 |
5 | len = length(inputdft);
6 | minsz = min(len, desiredLen);
7 |
8 | scaling = desiredLen/len;
9 |
10 | if size(inputdft, 1) > 1
11 | newSize = [desiredLen 1];
12 | else
13 | newSize = [1 desiredLen];
14 | end
15 |
16 | resizeddft = complex(zeros(newSize, 'single'));
17 |
18 | mids = ceil(minsz/2);
19 | mide = floor((minsz-1)/2) - 1;
20 |
21 | resizeddft(1:mids) = scaling * inputdft(1:mids);
22 | resizeddft(end - mide:end) = scaling * inputdft(end - mide:end);
23 | end
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/sample_fs.m:
--------------------------------------------------------------------------------
1 | function x = sample_fs(xf, grid_sz)
2 |
3 | % Samples the Fourier series
4 |
5 | sz = [size(xf,1) size(xf,2)];
6 |
7 | if nargin < 2
8 | x = prod(sz) * cifft2(xf);
9 | else
10 | if any(grid_sz < sz)
11 | error('The grid size must be larger than or equal to the signal size')
12 | end
13 | tot_pad = grid_sz - sz;
14 | pad_sz = ceil(tot_pad/2);
15 | xf_pad = padarray(xf, pad_sz);
16 | if any(mod(tot_pad,2) == 1)
17 | % Handle odd padding
18 | xf_pad = xf_pad(1:end-mod(tot_pad(1),2), 1:end-mod(tot_pad(2),2), :, :);
19 | end
20 | x = prod(grid_sz) * cifft2(xf_pad);
21 | end
22 |
23 |
24 |
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/shift_sample.m:
--------------------------------------------------------------------------------
1 | function xf = shift_sample(xf, shift, kx, ky)
2 |
3 | % Shift a sample in the Fourier domain. The shift should be normalized to
4 | % the range [-pi, pi].
5 |
6 | shift_exp_y = cellfun(@(ky) exp((1i * shift(1)) * ky), ky, 'uniformoutput', false);
7 | shift_exp_x = cellfun(@(kx) exp((1i * shift(2)) * kx), kx, 'uniformoutput', false);
8 | xf = cellfun(@(xf, sy, sx) bsxfun(@times, bsxfun(@times, xf, sy), sx), xf, shift_exp_y, shift_exp_x, 'uniformoutput', false);
--------------------------------------------------------------------------------
/ECO/implementation/fourier_tools/symmetrize_filter.m:
--------------------------------------------------------------------------------
1 | function hf = symmetrize_filter(hf)
2 |
3 | % Ensure hermetian symmetry.
4 |
5 | for k = 1:length(hf)
6 | dc_ind = (size(hf{k},1) + 1) / 2;
7 | hf{k}(dc_ind+1:end,end,:) = conj(flipud(hf{k}(1:dc_ind-1,end,:)));
8 | end
--------------------------------------------------------------------------------
/ECO/implementation/initialization/init_feature_params.m:
--------------------------------------------------------------------------------
1 | function feature_params = init_feature_params(features, feature_info)
2 |
3 | % Initialize some feature parameters.
4 |
5 | feature_dim = feature_info.dim;
6 | num_features = length(features);
7 | num_feature_blocks = length(feature_dim);
8 |
9 | feature_params.compressed_dim_block = cell(num_features, 1);
10 |
11 | for k = 1:num_features
12 | if ~isfield(features{k}.fparams, 'compressed_dim')
13 | features{k}.fparams.compressed_dim = features{k}.fparams.nDim;
14 | end
15 |
16 | feature_params.compressed_dim_block{k} = features{k}.fparams.compressed_dim(:);
17 | end
18 |
19 | feature_params.compressed_dim = cell2mat(feature_params.compressed_dim_block);
--------------------------------------------------------------------------------
/ECO/implementation/interpolation/interpolate_dft.m:
--------------------------------------------------------------------------------
1 | function xf = interpolate_dft(xf, interp1_fs, interp2_fs)
2 |
3 | % Performs the implicit interpolation in the Fourier domain of a sample by
4 | % multiplying with the Fourier coefficients of the interpolation function.
5 |
6 | xf = cellfun(@(xf, interp1_fs, interp2_fs) bsxfun(@times, bsxfun(@times, xf, interp1_fs), interp2_fs), ...
7 | xf, interp1_fs, interp2_fs, 'uniformoutput', false);
8 |
--------------------------------------------------------------------------------
/ECO/implementation/scale_filter/feature_projection_scale.m:
--------------------------------------------------------------------------------
1 | function z = feature_projection_scale(x, projection_matrix, cos_window)
2 |
3 | % do the windowing of the output
4 | z = bsxfun(@times, cos_window, projection_matrix * x);
5 | end
--------------------------------------------------------------------------------
/ECO/result_plots/OTB-2015_succsess_plot.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/result_plots/OTB-2015_succsess_plot.pdf
--------------------------------------------------------------------------------
/ECO/result_plots/OTB-2015_succsess_plot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/result_plots/OTB-2015_succsess_plot.png
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0001.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0001.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0002.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0002.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0003.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0003.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0004.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0004.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0005.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0005.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0006.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0006.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0007.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0007.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0008.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0008.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0009.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0009.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0010.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0010.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0011.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0011.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0012.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0012.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0013.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0013.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0014.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0014.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0015.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0015.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0016.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0016.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0017.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0017.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0018.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0018.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0019.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0019.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0020.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0020.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0021.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0021.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0022.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0022.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0023.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0023.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0024.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0024.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0025.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0025.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0026.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0026.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0027.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0027.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0028.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0028.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0029.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0029.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0030.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0030.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0031.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0031.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0032.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0032.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0033.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0033.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0034.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0034.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0035.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0035.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0036.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0036.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0037.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0037.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0038.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0038.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0039.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0039.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0040.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0040.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0041.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0041.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0042.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0042.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0043.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0043.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0044.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0044.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0045.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0045.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0046.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0046.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0047.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0047.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0048.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0048.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0049.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0049.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0050.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0050.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0051.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0051.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0052.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0052.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0053.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0053.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0054.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0054.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0055.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0055.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0056.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0056.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0057.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0057.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0058.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0058.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0059.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0059.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0060.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0060.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0061.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0061.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0062.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0062.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0063.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0063.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0064.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0064.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0065.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0065.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0066.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0066.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0067.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0067.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0068.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0068.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0069.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0069.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0070.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0070.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0071.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0071.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0072.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0072.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0073.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0073.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0074.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0074.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0075.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0075.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0076.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0076.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0077.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0077.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0078.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0078.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0079.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0079.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0080.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0080.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0081.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0081.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0082.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0082.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0083.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0083.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0084.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0084.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0085.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0085.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0086.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0086.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0087.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0087.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0088.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0088.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0089.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0089.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0090.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0090.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0091.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0091.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0092.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0092.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0093.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0093.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0094.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0094.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0095.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0095.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0096.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0096.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0097.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0097.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0098.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0098.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0099.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0099.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0100.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0100.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0101.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0101.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0102.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0102.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0103.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0103.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0104.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0104.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0105.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0105.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0106.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0106.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0107.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0107.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0108.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0108.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0109.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0109.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0110.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0110.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0111.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0111.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0112.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0112.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0113.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0113.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0114.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0114.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0115.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0115.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0116.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0116.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0117.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0117.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0118.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0118.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0119.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0119.jpg
--------------------------------------------------------------------------------
/ECO/sequences/Crossing/img/0120.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/ECO/sequences/Crossing/img/0120.jpg
--------------------------------------------------------------------------------
/ECO/setup_paths.m:
--------------------------------------------------------------------------------
1 | function setup_paths()
2 |
3 | % Add the neccesary paths
4 |
5 | [pathstr, name, ext] = fileparts(mfilename('fullpath'));
6 |
7 | % Tracker implementation
8 | addpath(genpath([pathstr '/implementation/']));
9 |
10 | % Runfiles
11 | addpath([pathstr '/runfiles/']);
12 |
13 | % Utilities
14 | addpath([pathstr '/utils/']);
15 |
16 | % The feature extraction
17 | addpath(genpath([pathstr '/feature_extraction/']));
18 |
19 | % Matconvnet
20 | addpath([pathstr '/external_libs/matconvnet/matlab/mex/']);
21 | addpath([pathstr '/external_libs/matconvnet/matlab']);
22 | addpath([pathstr '/external_libs/matconvnet/matlab/simplenn']);
23 |
24 | % PDollar toolbox
25 | addpath(genpath([pathstr '/external_libs/pdollar_toolbox/channels']));
26 |
27 | % Mtimesx
28 | addpath([pathstr '/external_libs/mtimesx/']);
29 |
30 | % mexResize
31 | addpath([pathstr '/external_libs/mexResize/']);
--------------------------------------------------------------------------------
/ECO/utils/load_video_info.m:
--------------------------------------------------------------------------------
1 | function [seq, ground_truth] = load_video_info(video_path)
2 |
3 | ground_truth = dlmread([video_path '/groundtruth_rect.txt']);
4 |
5 | seq.len = size(ground_truth, 1);
6 | seq.init_rect = ground_truth(1,:);
7 |
8 | img_path = [video_path '/img/'];
9 |
10 | if exist([img_path num2str(1, '%04i.png')], 'file'),
11 | img_files = num2str((1:seq.len)', [img_path '%04i.png']);
12 | elseif exist([img_path num2str(1, '%04i.jpg')], 'file'),
13 | img_files = num2str((1:seq.len)', [img_path '%04i.jpg']);
14 | elseif exist([img_path num2str(1, '%04i.bmp')], 'file'),
15 | img_files = num2str((1:seq.len)', [img_path '%04i.bmp']);
16 | else
17 | error('No image files to load.')
18 | end
19 |
20 | seq.s_frames = cellstr(img_files);
21 |
22 | end
23 |
24 |
--------------------------------------------------------------------------------
/MOT_track.m:
--------------------------------------------------------------------------------
1 | % track a target
2 | function tracker = MOT_track(frame_idx, frame_image, frame_size, bboxes, tracker, opt, seq_name)
3 |
4 | if tracker.state == opt.STATE_TRACKED || tracker.state == opt.STATE_ACTIVATED
5 | tracker.num_occluded = 0;
6 | tracker.num_tracked = tracker.num_tracked + 1;
7 | tracker = track_frame(tracker, frame_idx, frame_image, bboxes, [], seq_name, opt);
8 |
9 | % check if target exits from the camera view
10 | [~, ov] = calc_overlap(tracker.bboxes, numel(tracker.bboxes.fr), frame_size, 1);
11 | if ov < opt.exit_thre
12 | if opt.is_print
13 | fprintf('The target exits from the camera view.\n');
14 | end
15 | tracker.state = opt.STATE_STOP;
16 | end
17 | end
--------------------------------------------------------------------------------
/concatenate_bboxes.m:
--------------------------------------------------------------------------------
1 | % concatenate two bboxes structs
2 | function bboxes_concat = concatenate_bboxes(bboxes1, bboxes2)
3 |
4 | if isempty(bboxes2)
5 | bboxes_concat = bboxes1;
6 | else
7 | field_list = fieldnames(bboxes1);
8 | for i = 1:length(field_list),
9 | f = field_list{i};
10 | bboxes_concat.(f) = [bboxes1.(f); bboxes2.(f)];
11 | end
12 | end
--------------------------------------------------------------------------------
/devkit/run_evaluation.m:
--------------------------------------------------------------------------------
1 | benchmarkDir = 'data/MOT16/train/';
2 | allMets = evaluateTracking('c5-train.txt', 'results/', benchmarkDir);
3 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c2-test.txt:
--------------------------------------------------------------------------------
1 | name
2 | TUD-Crossing
3 | PETS09-S2L2
4 | ETH-Jelmoli
5 | ETH-Linthescher
6 | ETH-Crossing
7 | AVG-TownCentre
8 | ADL-Rundle-1
9 | ADL-Rundle-3
10 | KITTI-16
11 | KITTI-19
12 | Venice-1
13 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c2-train.txt:
--------------------------------------------------------------------------------
1 | name
2 | TUD-Stadtmitte
3 | TUD-Campus
4 | PETS09-S2L1
5 | ETH-Bahnhof
6 | ETH-Sunnyday
7 | ETH-Pedcross2
8 | ADL-Rundle-6
9 | ADL-Rundle-8
10 | KITTI-13
11 | KITTI-17
12 | Venice-2
13 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c3-test.txt:
--------------------------------------------------------------------------------
1 | name
2 | PETS09-S2L2
3 | ETH-Jelmoli
4 | ETH-Linthescher
5 | AVG-TownCentre
6 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c3-train.txt:
--------------------------------------------------------------------------------
1 | name
2 | TUD-Stadtmitte
3 | PETS09-S2L1
4 | ETH-Bahnhof
5 | ETH-Sunnyday
6 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c4-test.txt:
--------------------------------------------------------------------------------
1 | name
2 | ADL-Rundle-1
3 | ADL-Rundle-3
4 | Venice-1
5 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c4-train.txt:
--------------------------------------------------------------------------------
1 | name
2 | ADL-Rundle-6
3 | ADL-Rundle-8
4 | Venice-2
5 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c5-test.txt:
--------------------------------------------------------------------------------
1 | name
2 | MOT16-01
3 | MOT16-03
4 | MOT16-06
5 | MOT16-07
6 | MOT16-08
7 | MOT16-12
8 | MOT16-14
9 |
--------------------------------------------------------------------------------
/devkit/seqmaps/c5-train.txt:
--------------------------------------------------------------------------------
1 | name
2 | MOT16-02
3 | MOT16-04
4 | MOT16-05
5 | MOT16-09
6 | MOT16-10
7 | MOT16-11
8 | MOT16-13
9 |
--------------------------------------------------------------------------------
/devkit/utils/boxIntersect.m:
--------------------------------------------------------------------------------
1 | function isect=boxIntersect(bboxleft1, bboxright1, bboxbottom1, bboxup1, bboxleft2, bboxright2, bboxbottom2, bboxup2)
2 | % Compute intersection area of two bouding boxes A,B
3 | % A=[bboxleft1 bboxbottom1 abs(bboxright1-bboxleft1) abs(bboxbottom1-bboxup1)];
4 | % B=[bboxleft2 bboxbottom2 abs(bboxright2-bboxleft2) abs(bboxbottom2-bboxup2)];
5 | %
6 | % isect=rectint(A,B);
7 | isect=0;
8 |
9 | hor= max(0,min(bboxright1,bboxright2) - max(bboxleft1,bboxleft2));
10 |
11 | if ~hor, return; end
12 | ver= max(0,min(bboxbottom1,bboxbottom2) - max(bboxup1,bboxup2));
13 | if ~ver, return; end
14 |
15 | isect = hor*ver;
16 |
17 | end
--------------------------------------------------------------------------------
/devkit/utils/boxUnion.m:
--------------------------------------------------------------------------------
1 | function union=boxUnion(bboxleft1, bboxright1, bboxbottom1, bboxup1, bboxleft2, bboxright2, bboxbottom2, bboxup2,isect)
2 | % Compute union of two bounding boxes
3 |
4 | a1=bboxright1-bboxleft1;
5 | b1=bboxbottom1-bboxup1;
6 | a2=bboxright2-bboxleft2;
7 | b2=bboxbottom2-bboxup2;
8 | union=a1*b1+a2*b2;
9 | if nargin>8
10 | bisect=isect;
11 | else
12 | bisect=boxIntersect(bboxleft1, bboxright1, bboxbottom1, bboxup1, bboxleft2, bboxright2, bboxbottom2, bboxup2);
13 | end
14 | union=union-bisect;
15 |
16 |
17 | end
18 |
--------------------------------------------------------------------------------
/devkit/utils/boxiou.m:
--------------------------------------------------------------------------------
1 | function iou=boxiou(x1,y1,w1,h1,x2,y2,w2,h2)
2 | % compute intersection over union of two bboxes
3 | %
4 |
5 | bisect=boxIntersect(x1,x1+w1,y1+h1,y1,x2,x2+w2,y2+h2,y2);
6 | iou=0;
7 | if ~bisect, return; end
8 |
9 | bunion=boxUnion(x1,x1+w1,y1+h1,y1,x2,x2+w2,y2+h2,y2,bisect);
10 |
11 | assert(bunion>0,'something wrong with union computation');
12 | iou=bisect/bunion;
13 |
14 | end
--------------------------------------------------------------------------------
/devkit/utils/camera/README.md:
--------------------------------------------------------------------------------
1 | # Camera Utility Files
2 |
3 | This folder contains scripts for computing image-to-world and world-to-image projections.
4 |
5 | `calib_towncentre.m` is to be used with the AVG-TownCentre sequence.
6 |
7 | The rest is for the PETS sequence, which follows the Tsai camera model. parseCameraParameters can be used to read the camera xml file and the two scripts `imageToWorld.m` and `worldToImage.m` contain the projection routines.
--------------------------------------------------------------------------------
/devkit/utils/camera/distortedToUndistortedImageCoord.m:
--------------------------------------------------------------------------------
1 | function [Xfu Yfu]=distortedToUndistortedImageCoord (Xfd, Yfd, mDpx, mDpy, mCx, mCy, mSx, mKappa1)
2 |
3 |
4 | % /* convert from image to sensor coordinates */
5 | Xd = mDpx * (Xfd - mCx) / mSx;
6 | Yd = mDpy * (Yfd - mCy);
7 |
8 | % /* convert from distorted sensor to undistorted sensor plane coordinates */
9 | [Xu Yu]=distortedToUndistortedSensorCoord(Xd, Yd, mKappa1);
10 |
11 | % /* convert from sensor to image coordinates */
12 | Xfu = Xu * mSx / mDpx + mCx;
13 | Yfu = Yu / mDpy + mCy;
14 |
15 | end
--------------------------------------------------------------------------------
/devkit/utils/camera/distortedToUndistortedSensorCoord.m:
--------------------------------------------------------------------------------
1 | function [Xu Yu]=distortedToUndistortedSensorCoord (Xd, Yd, mKappa1)
2 | % /* convert from distorted to undistorted sensor plane coordinates */
3 | distortion_factor = 1 + mKappa1 * (Xd*Xd + Yd*Yd);
4 | Xu = Xd * distortion_factor;
5 | Yu = Yd * distortion_factor;
6 | end
--------------------------------------------------------------------------------
/devkit/utils/camera/getRotTrans.m:
--------------------------------------------------------------------------------
1 | function [mR, mT]=getRotTrans(camPar)
2 | %
3 | %
4 | % (C) Anton Andriyenko, 2012
5 | %
6 | % The code may be used free of charge for non-commercial and
7 | % educational purposes, the only requirement is that this text is
8 | % preserved within the derivative work. For any other purpose you
9 | % must contact the authors for permission. This code may not be
10 | % redistributed without written permission from the authors.
11 |
12 | if camPar.ortho
13 | mR=camPar.mR; mT=camPar.mT;
14 | else
15 | %%% Rotation Translation %%%
16 | mT=[camPar.mExt.mTx;camPar.mExt.mTy;camPar.mExt.mTz];
17 | sa = sin(camPar.mExt.mRx);
18 | ca = cos(camPar.mExt.mRx);
19 | sb = sin(camPar.mExt.mRy);
20 | cb = cos(camPar.mExt.mRy);
21 | sg = sin(camPar.mExt.mRz);
22 | cg = cos(camPar.mExt.mRz);
23 |
24 | mR11 = cb * cg;
25 | mR12 = cg * sa * sb - ca * sg;
26 | mR13 = sa * sg + ca * cg * sb;
27 | mR21 = cb * sg;
28 | mR22 = sa * sb * sg + ca * cg;
29 | mR23 = ca * sb * sg - cg * sa;
30 | mR31 = -sb;
31 | mR32 = cb * sa;
32 | mR33 = ca * cb;
33 |
34 | mR=[mR11 mR12 mR13;
35 | mR21 mR22 mR23;
36 | mR31 mR32 mR33];
37 | end
38 | end
--------------------------------------------------------------------------------
/devkit/utils/camera/undistortedToDistortedImageCoord.m:
--------------------------------------------------------------------------------
1 | function [Xfd Yfd]=undistortedToDistortedImageCoord (Xfu, Yfu, mDpx, mDpy, mCx, mCy, mSx, mKappa1)
2 |
3 |
4 | % /* convert from image to sensor coordinates */
5 | Xu = mDpx * (Xfu - mCx) / mSx;
6 | Yu = mDpy * (Yfu - mCy);
7 |
8 | % /* convert from undistorted sensor to distorted sensor plane coordinates */
9 | [Xd Yd]=undistortedToDistortedSensorCoord(Xu, Yu, mKappa1);
10 |
11 | % /* convert from sensor to image coordinates */
12 | Xfd = Xd * mSx / mDpx + mCx;
13 | Yfd = Yd / mDpy + mCy;
14 | end
--------------------------------------------------------------------------------
/devkit/utils/camera/worldToImage.m:
--------------------------------------------------------------------------------
1 | function [Xi Yi]=worldToImage(Xw,Yw,Zw,mR,mT,mInt,mGeo)
2 |
3 | % if scalar, just up/downscale = orthographic
4 | if length(mR)==1
5 | Xi=Xw/mR;
6 | Yi=Yw/mR;
7 | else
8 |
9 | % /* convert from world coordinates to camera coordinates */
10 | x=[mR mT]*[Xw;Yw;Zw;1];
11 | xc = x(1);
12 | yc = x(2);
13 | zc = x(3);
14 |
15 | % /* convert from camera coordinates to undistorted sensor plane coordinates */
16 | Xu = mInt.mFocal * xc / zc;
17 | Yu = mInt.mFocal * yc / zc;
18 |
19 | % /* convert from undistorted to distorted sensor plane coordinates */
20 | [Xd Yd]=undistortedToDistortedSensorCoord (Xu, Yu, mInt.mKappa1);
21 | % Xd=Xu;
22 | % Yd=Yu;
23 |
24 | % Rusq=Xu*Xu+Yu*Yu;
25 | % Ru=sqrt(Xu*Xu+Yu*Yu);
26 | % Xd=Xu*(1+mInt.mKappa1*Rusq);
27 | % Yd=Yu*(1+mInt.mKappa1*Rusq);
28 |
29 |
30 | % /* convert from distorted sensor plane coordinates to image coordinates */
31 | Xi = Xd * mInt.mSx / mGeo.mDpx + mInt.mCx;
32 | Yi = Yd / mGeo.mDpy + mInt.mCy;
33 | end
34 | end
--------------------------------------------------------------------------------
/devkit/utils/classIDToString.m:
--------------------------------------------------------------------------------
1 | function classString = classIDToString(classID)
2 |
3 | labels = getClassLabels;
4 |
5 | if classID<1 || classID>length(labels)
6 | classString='unknown';
7 | else
8 | classString = char(labels{classID});
9 | end
10 |
11 | end
--------------------------------------------------------------------------------
/devkit/utils/classStringToID.m:
--------------------------------------------------------------------------------
1 | find(strcmp(labels,'occluder'))
--------------------------------------------------------------------------------
/devkit/utils/external/iniconfig/IniConfig.m:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/devkit/utils/external/iniconfig/IniConfig.m
--------------------------------------------------------------------------------
/devkit/utils/getClassLabels.m:
--------------------------------------------------------------------------------
1 | function labels = getClassLabels()
2 |
3 | labels={'ped', ... % 1
4 | 'person_on_vhcl', ... % 2
5 | 'car', ... % 3
6 | 'bicycle', ... % 4
7 | 'mbike', ... % 5
8 | 'non_mot_vhcl', ... % 6
9 | 'static_person', ... % 7
10 | 'distractor', ... % 8
11 | 'occluder', ... % 9
12 | 'occluder_on_grnd', ... %10
13 | 'occluder_full', ... % 11
14 | 'reflection', ... % 12
15 | 'crowd' ... % 13
16 | };
17 |
18 |
19 | end
--------------------------------------------------------------------------------
/devkit/utils/getImgExt.m:
--------------------------------------------------------------------------------
1 | function imgExt = getImgExt(seqFolder)
2 | % return image extension including the dot
3 | % e.g. '.jpg'
4 |
5 | imgExt = '.jpg';
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/devkit/utils/getSeqInfoFromFile.m:
--------------------------------------------------------------------------------
1 | function [seqName, seqFolder, imgFolder, frameRate, F, imWidth, imHeight, imgExt] ...
2 | = getSeqInfoFromFile(seq, dataDir)
3 | % construct variables with relevant information about the sequence 'seq'
4 | %
5 |
6 | seqName=char(seq);
7 | seqFolder= [dataDir,seqName,filesep];
8 |
9 |
10 | seqInfoFile = [dataDir,seqName,filesep,'seqinfo.ini'];
11 | ini = IniConfig();
12 | ini.ReadFile(seqInfoFile);
13 |
14 | imgFolder = ini.GetValues('Sequence','imDir');
15 | frameRate = ini.GetValues('Sequence','frameRate');
16 | F=ini.GetValues('Sequence','seqLength');
17 | imWidth=ini.GetValues('Sequence','imWidth');
18 | imHeight=ini.GetValues('Sequence','imHeight');
19 | imgExt = ini.GetValues('Sequence','imExt');
20 |
21 | end
22 |
--------------------------------------------------------------------------------
/devkit/utils/parseSequences.m:
--------------------------------------------------------------------------------
1 | function allseq = parseSequences(seqmapFile)
2 | % parse sequence map
3 | % seqmapFile - a file containing the sequence names
4 | % to be processed. First line is ignored. e.g.
5 | %
6 | % --------------
7 | % name
8 | % TUD-Stadtmitte
9 | % TUD-Campus
10 | % --------------
11 | %
12 | % returns a cell array with all the sequence names
13 |
14 |
15 | assert(exist(seqmapFile,'file')>0,'seqmap file %s does not exist',seqmapFile);
16 | fid = fopen(seqmapFile);
17 | allseq = textscan(fid,'%s','HeaderLines',1);
18 | fclose(fid);
19 | allseq=allseq{1}';
20 |
21 |
22 | end
23 |
--------------------------------------------------------------------------------
/extract_det_feat.m:
--------------------------------------------------------------------------------
1 | % extract features for the detection bbox
2 | function feat = extract_det_feat(tracker, bbox)
3 |
4 | num = numel(bbox.fr);
5 | feat_dim = 6;
6 | feat = zeros(num, feat_dim);
7 | feat(:,1) = bbox.x / tracker.image_width;
8 | feat(:,2) = bbox.y / tracker.image_height;
9 | feat(:,3) = bbox.w / tracker.max_width;
10 | feat(:,4) = bbox.h / tracker.max_height;
11 | feat(:,5) = bbox.r / tracker.max_score;
12 | feat(:,6) = 1;
--------------------------------------------------------------------------------
/find_detections_for_association.m:
--------------------------------------------------------------------------------
1 | % find nearby detections with appropriate size for association
2 | function [bboxes_det, index_det, center_pred] = find_detections_for_association(tracker, frame_id, bboxes_det, opt)
3 |
4 | center_pred = motion_predict(frame_id, tracker, opt);
5 | num_det = numel(bboxes_det.fr);
6 | center_dets = [bboxes_det.x + bboxes_det.w/2, bboxes_det.y + bboxes_det.h/2];
7 |
8 | % compute distances and height ratios
9 | distances = zeros(num_det, 1);
10 | ratios = zeros(num_det, 1);
11 | for i = 1:num_det
12 | distances(i) = norm(center_dets(i,:) - center_pred) / tracker.bboxes.w(end);
13 |
14 | ratio = tracker.bboxes.h(end) / bboxes_det.h(i);
15 | ratios(i) = min(ratio, 1/ratio);
16 | end
17 |
18 | index_det = find(distances < opt.distance_thre & ratios > opt.aspect_ratio_thre);
19 | bboxes_det.ratios = ratios;
20 | bboxes_det.distances = distances;
--------------------------------------------------------------------------------
/init_tracker/MOT16-02_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-02_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-04_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-04_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-05_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-05_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-09_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-09_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-10_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-10_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-11_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-11_tracker.mat
--------------------------------------------------------------------------------
/init_tracker/MOT16-13_tracker.mat:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/jizhu1023/DMAN_MOT/b522fc5ae8d8152c43be14126c4d6160fdf289f8/init_tracker/MOT16-13_tracker.mat
--------------------------------------------------------------------------------
/initialize_tracker.m:
--------------------------------------------------------------------------------
1 | % initialize a MOT tracker
2 | function tracker = initialize_tracker(fr, frame_image, id, bboxes, ind, tracker, opt)
3 |
4 | if tracker.state ~= opt.STATE_START
5 | return;
6 | else
7 | % build the bboxes structure
8 | bbox.fr = bboxes.fr(ind);
9 | bbox.id = id;
10 | bbox.x = bboxes.x(ind);
11 | bbox.y = bboxes.y(ind);
12 | bbox.w = bboxes.w(ind);
13 | bbox.h = bboxes.h(ind);
14 | bbox.r = bboxes.r(ind);
15 | bbox.state = opt.STATE_ACTIVATED;
16 |
17 | bbox.eco_x = bbox.x;
18 | bbox.eco_y = bbox.y;
19 | bbox.eco_w = bbox.w;
20 | bbox.eco_h = bbox.h;
21 |
22 | tracker = ECO_initialize(tracker, fr, id, bbox, frame_image);
23 | tracker.state = opt.STATE_ACTIVATED;
24 | tracker.num_occluded = 0;
25 | tracker.num_tracked = 0;
26 | tracker.bboxes = bbox;
27 | end
--------------------------------------------------------------------------------
/read_bboxes.m:
--------------------------------------------------------------------------------
1 | % read bboxes from txt file given by the MOTChallege
2 | function bboxes = read_bboxes(file_name)
3 |
4 | fid = fopen(file_name, 'r');
5 | % , , , , , , , , ,
6 | line = textscan(fid, '%d %d %f %f %f %f %f %f %f %f', 'Delimiter', ',');
7 | fclose(fid);
8 |
9 | % build the bboxes structure for detections
10 | bboxes.fr = line{1};
11 | bboxes.id = line{2};
12 | bboxes.x = line{3};
13 | bboxes.y = line{4};
14 | bboxes.w = line{5};
15 | bboxes.h = line{6};
16 | bboxes.r = line{7};
--------------------------------------------------------------------------------
/save_results.m:
--------------------------------------------------------------------------------
1 | % save the tracking results to txt required by the MOTChallenge
2 | function save_results(seq_name, file_name, bboxes, initialization_threshold, opt)
3 |
4 | num_target = max(bboxes.id);
5 | len_traj = zeros(num_target, 1);
6 | for i = 1:num_target
7 | len_traj(i) = numel(find(bboxes.id == i & (bboxes.state == opt.STATE_TRACKED | bboxes.state == opt.STATE_ACTIVATED)));
8 | end
9 |
10 | fid = fopen(file_name, 'w');
11 | num_bbox = numel(bboxes.x);
12 |
13 | for i = 1:num_bbox
14 | % , , , , , , , , ,
15 | if len_traj(bboxes.id(i)) > initialization_threshold && (bboxes.state(i) == opt.STATE_TRACKED || bboxes.state(i) == opt.STATE_ACTIVATED)
16 | fprintf(fid, '%d,%d,%f,%f,%f,%f,%f,%f,%f,%f\n', ...
17 | bboxes.fr(i), bboxes.id(i), bboxes.x(i), bboxes.y(i), bboxes.w(i), bboxes.h(i), -1, -1, -1, -1);
18 | end
19 | end
20 |
21 | fclose(fid);
--------------------------------------------------------------------------------
/sort_trackers.m:
--------------------------------------------------------------------------------
1 | % heuristically sort the reliability of trackers based on the tracking state and the number of tracked frames
2 | function [index1, index2] = sort_trackers(trackers, opt)
3 |
4 | num = numel(trackers);
5 | len = zeros(num, 1);
6 | state = zeros(num, 1);
7 | for i = 1:num
8 | len(i) = trackers{i}.num_tracked;
9 | state(i) = trackers{i}.state;
10 | end
11 |
12 | % give high priority to trackers with > 10 tracked frames
13 | index1 = find(len > 10);
14 | index2 = find(len <= 10);
15 |
16 | % priority order: opt.STATE_TRACKED -> opt.STATE_ACTIVATED -> opt.STATE_LOST -> opt.STATE_START -> opt.STATE_STOP
17 | [~, ind] = sort(state(index1));
18 | index1 = index1(ind);
19 | [~, ind] = sort(state(index2));
20 | index2 = index2(ind);
21 | index = [index1; index2];
--------------------------------------------------------------------------------
/sub_bboxes.m:
--------------------------------------------------------------------------------
1 | % return a subset of the structure s
2 | function s = sub_bboxes(s, index_sub)
3 |
4 | if ~isempty(s),
5 | field_list = fieldnames(s);
6 | for i = 1:length(field_list),
7 | f = field_list{i};
8 | s.(f) = s.(f)(index_sub,:);
9 | end
10 | end
11 |
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------