diff --git a/bbox_pred/bboxpred_data.m b/bbox_pred/bboxpred_data.m index ebefcf2..128f938 100644 --- a/bbox_pred/bboxpred_data.m +++ b/bbox_pred/bboxpred_data.m @@ -14,6 +14,17 @@ % name Object class % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/bbox_pred/bboxpred_get.m b/bbox_pred/bboxpred_get.m index 29b8037..ccbdc77 100644 --- a/bbox_pred/bboxpred_get.m +++ b/bbox_pred/bboxpred_get.m @@ -12,6 +12,17 @@ % bs Source filter bounding boxes % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- ds_pred = []; bs_pred = []; diff --git a/bbox_pred/bboxpred_input.m b/bbox_pred/bboxpred_input.m index 2108982..c1b4e0e 100644 --- a/bbox_pred/bboxpred_input.m +++ b/bbox_pred/bboxpred_input.m @@ -26,6 +26,17 @@ % bs Coordinates for each filter placed in the detection % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % detection windows' coordinates x1 = ds(:,1); diff --git a/bbox_pred/bboxpred_rescore.m b/bbox_pred/bboxpred_rescore.m index 0e4a235..add53ea 100644 --- a/bbox_pred/bboxpred_rescore.m +++ b/bbox_pred/bboxpred_rescore.m @@ -13,6 +13,17 @@ % method Regression method % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year); VOCopts = conf.pascal.VOCopts; diff --git a/bbox_pred/bboxpred_train.m b/bbox_pred/bboxpred_train.m index 44c3bf0..d8ec214 100644 --- a/bbox_pred/bboxpred_train.m +++ b/bbox_pred/bboxpred_train.m @@ -10,6 +10,17 @@ % method Regression method (default is least squares regression) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/car_grammar/car_grammar_init.m b/car_grammar/car_grammar_init.m index 40c1b2f..bb8f3be 100644 --- a/car_grammar/car_grammar_init.m +++ b/car_grammar/car_grammar_init.m @@ -1,6 +1,16 @@ function model = car_grammar_init() % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- [front, angled, side] = train_car_views(); %model = make_car_grammar(front, side); diff --git a/car_grammar/pascal_car_grammar.m b/car_grammar/pascal_car_grammar.m index b959eda..b6ed53c 100644 --- a/car_grammar/pascal_car_grammar.m +++ b/car_grammar/pascal_car_grammar.m @@ -1,6 +1,16 @@ function pascal_car_grammar(dotrainval, testyear) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Set configuration override global VOC_CONFIG_OVERRIDE; diff --git a/car_grammar/pascal_train_car_grammar.m b/car_grammar/pascal_train_car_grammar.m index 0eaee97..b6fa155 100644 --- a/car_grammar/pascal_train_car_grammar.m +++ b/car_grammar/pascal_train_car_grammar.m @@ -1,6 +1,16 @@ function model = pascal_train_car_grammar(note) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % At every "checkpoint" in the training process we reset the % RNG's seed to a fixed value so that experimental results are diff --git a/car_grammar/voc_config_car_grammar.m b/car_grammar/voc_config_car_grammar.m index ca129e5..24cc651 100644 --- a/car_grammar/voc_config_car_grammar.m +++ b/car_grammar/voc_config_car_grammar.m @@ -2,6 +2,16 @@ % Set up configuration variables % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf.project = 'rel5-dev/car-grammar-3'; diff --git a/compile.m b/compile.m index a50b9de..0e121bc 100644 --- a/compile.m +++ b/compile.m @@ -11,6 +11,16 @@ function compile(opt, verb, mex_file) % verb Verbose output (default: off) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if ispc error('This code is not supported on Windows.'); diff --git a/context/context_data.m b/context/context_data.m index df03f6d..dcf3435 100644 --- a/context/context_data.m +++ b/context/context_data.m @@ -25,6 +25,17 @@ % -1.1. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year); cachedir = conf.paths.model_dir; diff --git a/context/context_labels.m b/context/context_labels.m index 1d43be9..b8c2522 100644 --- a/context/context_labels.m +++ b/context/context_labels.m @@ -13,6 +13,17 @@ % train_year Training dataset year % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', train_year); cachedir = conf.paths.model_dir; diff --git a/context/context_rescore.m b/context/context_rescore.m index 8fd99ec..6b2f33e 100644 --- a/context/context_rescore.m +++ b/context/context_rescore.m @@ -10,6 +10,17 @@ % train_year Training dataset year % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 2 conf = voc_config(); diff --git a/context/context_test.m b/context/context_test.m index 00dcfb0..7987d9e 100644 --- a/context/context_test.m +++ b/context/context_test.m @@ -11,6 +11,17 @@ % cls Object class to rescore (if not given, all are rescored) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); cachedir = conf.paths.model_dir; diff --git a/context/context_train.m b/context/context_train.m index 57ead2c..68c13b8 100644 --- a/context/context_train.m +++ b/context/context_train.m @@ -8,6 +8,17 @@ function context_train(train_set, train_year, cls) % cls Object class to train (trains all if not specified) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', train_year); cachedir = conf.paths.model_dir; diff --git a/data/imreadx.m b/data/imreadx.m index 0379ebf..9154bf7 100644 --- a/data/imreadx.m +++ b/data/imreadx.m @@ -9,6 +9,16 @@ % ex An example returned by pascal_data.m % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- im = color(imread(ex.im)); if ex.flip diff --git a/data/pascal_data.m b/data/pascal_data.m index 304b66c..fb54156 100644 --- a/data/pascal_data.m +++ b/data/pascal_data.m @@ -12,6 +12,17 @@ % year PASCAL dataset year % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year); dataset_fg = conf.training.train_set_fg; diff --git a/demo.m b/demo.m index 5cf9efd..ec954ba 100644 --- a/demo.m +++ b/demo.m @@ -1,6 +1,17 @@ function demo() % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- startup; diff --git a/demo_cascade.m b/demo_cascade.m index 966ab72..f6fe80b 100644 --- a/demo_cascade.m +++ b/demo_cascade.m @@ -6,6 +6,16 @@ function demo_cascade() % DP algorithm to a single-threaded version of the cascade algorithm. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- startup; diff --git a/docs/autorights/autorights-notice-f.txt b/docs/autorights/autorights-notice-f.txt new file mode 100644 index 0000000..a20dd60 --- /dev/null +++ b/docs/autorights/autorights-notice-f.txt @@ -0,0 +1,12 @@ +------------------------------------------------------- +Copyright (C) +Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick + +This file is part of the code +(http://people.cs.uchicago.edu/~rbg/latent/) +and is available under the terms of an MIT-like license +provided in COPYING. Please retain this notice and +COPYING if you use this file (or a portion of it) in +your project. +------------------------------------------------------- + diff --git a/docs/autorights/autorights-notice-fr.txt b/docs/autorights/autorights-notice-fr.txt new file mode 100644 index 0000000..8712a8a --- /dev/null +++ b/docs/autorights/autorights-notice-fr.txt @@ -0,0 +1,13 @@ +------------------------------------------------------- +Copyright (C) +Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan + +This file is part of the code +(http://people.cs.uchicago.edu/~rbg/latent/) +and is available under the terms of an MIT-like license +provided in COPYING. Please retain this notice and +COPYING if you use this file (or a portion of it) in +your project. +------------------------------------------------------- + diff --git a/docs/autorights/autorights-notice-one.txt b/docs/autorights/autorights-notice-one.txt new file mode 100644 index 0000000..baf9086 --- /dev/null +++ b/docs/autorights/autorights-notice-one.txt @@ -0,0 +1,11 @@ +------------------------------------------------------- +Copyright (C) + +This file is part of the code +(http://people.cs.uchicago.edu/~rbg/latent/) +and is available under the terms of an MIT-like license +provided in COPYING. Please retain this notice and +COPYING if you use this file (or a portion of it) in +your project. +------------------------------------------------------- + diff --git a/docs/autorights/autorights-notice.txt b/docs/autorights/autorights-notice.txt new file mode 100644 index 0000000..baf9086 --- /dev/null +++ b/docs/autorights/autorights-notice.txt @@ -0,0 +1,11 @@ +------------------------------------------------------- +Copyright (C) + +This file is part of the code +(http://people.cs.uchicago.edu/~rbg/latent/) +and is available under the terms of an MIT-like license +provided in COPYING. Please retain this notice and +COPYING if you use this file (or a portion of it) in +your project. +------------------------------------------------------- + diff --git a/docs/autorights/make-right.sh b/docs/autorights/make-right.sh new file mode 100755 index 0000000..0ff60dd --- /dev/null +++ b/docs/autorights/make-right.sh @@ -0,0 +1,180 @@ +#!/bin/bash + +PERL=perl5.10 +AUTORIGHTS=../autorights/autorights.pl + +# 2011-2012 g: +${PERL} ${AUTORIGHTS} \ + ./sample_voc_config_override.m \ + ./startup.m \ + ./compile.m \ + ./voc_config.m \ + ./voc_config_inriaperson.m \ + ./car_grammar/car_grammar_init.m \ + ./car_grammar/pascal_car_grammar.m \ + ./car_grammar/pascal_train_car_grammar.m \ + ./car_grammar/voc_config_car_grammar.m \ + ./person_grammar/add_head_parts.m \ + ./person_grammar/add_slab_parts.m \ + ./person_grammar/pascal_person_grammar.m \ + ./person_grammar/pascal_train_person_grammar.m \ + ./person_grammar/person_grammar_init.m \ + ./person_grammar/visualize_person_grammar_model.m \ + ./person_grammar/voc_config_person_grammar.m \ + ./fv_cache/fv_cache.h \ + ./fv_cache/mempool.h \ + ./fv_cache/model.h \ + ./fv_cache/obj_func.h \ + ./fv_cache/fv_cache.cc \ + ./fv_cache/obj_func.cc \ + ./fv_cache/fv_compile.m \ + ./fv_cache/fv_model_args.m \ + ./fv_cache/fv_obj_func.m \ + ./fv_cache/max_fv_dim.m \ + ./gdetect/fconvsse.cc \ + ./gdetect/get_detection_trees.cc \ + ./gdetect/loss_func.m \ + ./gdetect/loss_pyramid.m \ + ./gdetect/tree_mat_to_struct.m \ + ./gdetect/validate_levels.m \ + ./gdetect/write_zero_fv.m \ + ./vis/vis_derived_filter.m \ + ./vis/vis_grammar.m \ + --template=docs/autorights/autorights-notice-one.txt \ + --authors "Ross Girshick" \ + --years "2011-2012" \ + --program "voc-releaseX" + +#2009-2012 g: +${PERL} ${AUTORIGHTS} \ + ./star-cascade/cascade.cc \ + ./star-cascade/model.cc \ + ./star-cascade/model.h \ + ./star-cascade/timer.h \ + ./star-cascade/cascade_compile.m \ + ./star-cascade/cascade_data.m \ + ./star-cascade/cascade_detect.m \ + ./star-cascade/cascade_model.m \ + ./star-cascade/cascade_test.m \ + ./star-cascade/gdetect_pos_c.m \ + ./star-cascade/gdetect_pos_prepare_c.m \ + ./star-cascade/get_block_scores.m \ + ./star-cascade/grammar2simple.m \ + ./star-cascade/pca_of_hog.m \ + ./star-cascade/project.m \ + ./star-cascade/project_model.m \ + ./star-cascade/project_pyramid.m \ + ./demo_cascade.m \ + ./model/block_types.m \ + ./model/getopts.m \ + ./model/lr_root_model.m \ + ./model/mkpartfilters.m \ + ./model/model_add_block.m \ + ./model/model_add_def_rule.m \ + ./model/model_add_nonterminal.m \ + ./model/model_add_parts.m \ + ./model/model_add_struct_rule.m \ + ./model/model_add_symbol.m \ + ./model/model_add_terminal.m \ + ./model/model_create.m \ + ./model/model_get_block.m \ + ./model/model_merge.m \ + ./model/model_sort.m \ + ./model/model_types.m \ + ./utils/auc_ap_2007.m \ + ./utils/bootstrap/test_stats.m \ + ./utils/five2four.m \ + ./utils/model_attach_weights.m \ + ./utils/model_cmp.m \ + ./utils/model_norms.m \ + ./utils/procid.m \ + ./utils/reduceboxes.m \ + ./utils/report.m \ + ./utils/report_cmp.m \ + ./utils/rndtest.m \ + ./utils/showboxesc.m \ + ./utils/showposlat.m \ + ./utils/tic_toc_print.m \ + ./utils/viewerrors.m \ + ./features/flipfeat.m \ + ./features/getpadding.m \ + ./features/loc_feat.m \ + ./data/imreadx.m \ + ./gdetect/compute_overlaps.m \ + ./gdetect/gdetect.m \ + ./gdetect/gdetect_dp.m \ + ./gdetect/gdetect_parse.m \ + ./gdetect/gdetect_pos.m \ + ./gdetect/gdetect_pos_prepare.m \ + ./gdetect/gdetect_write.m \ + ./gdetect/imgdetect.m \ + ./gdetect/bounded_dt.cc \ + ./gdetect/compute_overlap.cc \ + ./train/train.m \ + --template=docs/autorights/autorights-notice-one.txt \ + --authors "Ross Girshick" \ + --years "2009-2012" \ + --program "voc-releaseX" + +#2011-2012 g: +#2008-2010 gf: +${PERL} ${AUTORIGHTS} \ + ./bbox_pred/bboxpred_data.m \ + ./bbox_pred/bboxpred_get.m \ + ./bbox_pred/bboxpred_input.m \ + ./bbox_pred/bboxpred_rescore.m \ + ./bbox_pred/bboxpred_train.m \ + ./context/context_data.m \ + ./context/context_labels.m \ + ./context/context_rescore.m \ + ./context/context_test.m \ + ./context/context_train.m \ + ./gdetect/fconv_var_dim.cc \ + ./gdetect/fconv_var_dim_MT.cc \ + ./vis/visualizemodel.m \ + ./utils/boxoverlap.m \ + ./model/root_model.m \ + ./data/pascal_data.m \ + ./demo.m \ + ./train/pascal_train.m \ + ./train/seed_rand.m \ + ./train/split.m \ + ./train/trainval.m \ + ./test/pascal_eval.m \ + ./test/pascal_test.m \ + ./train/croppos.m \ + ./train/lrsplit.m \ + ./pascal.m \ + ./process.m \ + ./test/clipboxes.m \ + --template=docs/autorights/autorights-notice-f.txt \ + --authors "Ross Girshick" \ + --years "2011-2012" \ + --program "voc-releaseX" + +#2007-2012 gfr: +${PERL} ${AUTORIGHTS} \ + ./features/features.cc \ + ./vis/visualizeHOG.m \ + ./vis/foldHOG.m \ + ./vis/HOGpicture.m \ + ./vis/showboxes.m \ + ./train/warppos.m \ + ./test/nms.m \ + ./train/subarray.m \ + ./features/color.m \ + ./features/featpyramid.m \ + --template=docs/autorights/autorights-notice-fr.txt \ + --authors "Ross Girshick" \ + --years "2011-2012" \ + --program "voc-releaseX" + +#2007 f: +${PERL} ${AUTORIGHTS} \ + ./features/resize.cc \ + ./gdetect/dt.cc \ + --template=docs/autorights/autorights-notice-one.txt \ + --authors "Pedro Felzenszwalb" \ + --years "2007" \ + --program "voc-releaseX" + diff --git a/features/color.m b/features/color.m index b8f3d2f..260ad33 100644 --- a/features/color.m +++ b/features/color.m @@ -3,6 +3,18 @@ % im = color(input) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if size(input, 3) == 1 im(:,:,1) = input; diff --git a/features/featpyramid.m b/features/featpyramid.m index 2ba5d91..348b2e0 100644 --- a/features/featpyramid.m +++ b/features/featpyramid.m @@ -19,6 +19,18 @@ % resolution of pyra.feat{i} % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 3 [padx, pady] = getpadding(model); diff --git a/features/features.cc b/features/features.cc index b4520da..67493a5 100644 --- a/features/features.cc +++ b/features/features.cc @@ -1,4 +1,16 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +// Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include #include "mex.h" diff --git a/features/flipfeat.m b/features/flipfeat.m index 86cb5bb..48eac1f 100644 --- a/features/flipfeat.m +++ b/features/flipfeat.m @@ -11,6 +11,16 @@ % f Input features % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % flip permutation p = [10 9 8 7 6 5 4 3 2 ... % 1st set of contrast sensitive features diff --git a/features/getpadding.m b/features/getpadding.m index 1846c22..b435502 100644 --- a/features/getpadding.m +++ b/features/getpadding.m @@ -12,6 +12,16 @@ % model Model being used for detection % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Use the dimensions of the max over detection windows padx = ceil(model.maxsize(2)); diff --git a/features/loc_feat.m b/features/loc_feat.m index 143e6b8..4abfad1 100644 --- a/features/loc_feat.m +++ b/features/loc_feat.m @@ -18,6 +18,16 @@ % num_levels Number of levels in the feature pyramid % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- f = zeros(3, num_levels); diff --git a/features/resize.cc b/features/resize.cc index fbfc481..6e1ae8c 100644 --- a/features/resize.cc +++ b/features/resize.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2007 Pedro Felzenszwalb +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include #include diff --git a/fv_cache/fv_cache.cc b/fv_cache/fv_cache.cc index 2edbda7..8f36446 100644 --- a/fv_cache/fv_cache.cc +++ b/fv_cache/fv_cache.cc @@ -1,6 +1,6 @@ // AUTORIGHTS // ------------------------------------------------------- -// Copyright (C) 2012 Ross Girshick +// Copyright (C) 2011-2012 Ross Girshick // // This file is part of the voc-releaseX code // (http://people.cs.uchicago.edu/~rbg/latent/) diff --git a/fv_cache/fv_cache.h b/fv_cache/fv_cache.h index 57b6e6a..6fce94f 100644 --- a/fv_cache/fv_cache.h +++ b/fv_cache/fv_cache.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef FV_CACHE_H #define FV_CACHE_H diff --git a/fv_cache/fv_compile.m b/fv_cache/fv_compile.m index 053241b..f8c9e1d 100644 --- a/fv_cache/fv_compile.m +++ b/fv_cache/fv_compile.m @@ -11,6 +11,16 @@ function fv_compile(opt, verb) % verb Verbose output (default: off) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if ispc error('This code is not supported on Windows.'); diff --git a/fv_cache/fv_model_args.m b/fv_cache/fv_model_args.m index c247e0c..faabdf8 100644 --- a/fv_cache/fv_model_args.m +++ b/fv_cache/fv_model_args.m @@ -15,6 +15,16 @@ % model Input model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- blocks = get_blocks(model); lower_bounds = get_lb(model); diff --git a/fv_cache/fv_obj_func.m b/fv_cache/fv_obj_func.m index 6028549..2904948 100644 --- a/fv_cache/fv_obj_func.m +++ b/fv_cache/fv_obj_func.m @@ -11,5 +11,15 @@ % num_threads Number of worker threads to use for computing the gradient % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- [v, g] = fv_cache('gradient', w, num_threads); diff --git a/fv_cache/max_fv_dim.m b/fv_cache/max_fv_dim.m index 27d1dbc..236b47f 100644 --- a/fv_cache/max_fv_dim.m +++ b/fv_cache/max_fv_dim.m @@ -13,6 +13,16 @@ % model Object model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- model = filter_dims(model); diff --git a/fv_cache/mempool.h b/fv_cache/mempool.h index acdf4c6..f4d8cdf 100644 --- a/fv_cache/mempool.h +++ b/fv_cache/mempool.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef MEMPOOL_H #define MEMPOOL_H diff --git a/fv_cache/model.h b/fv_cache/model.h index dcd0604..29d2c5e 100644 --- a/fv_cache/model.h +++ b/fv_cache/model.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef MODEL_H #define MODEL_H diff --git a/fv_cache/obj_func.cc b/fv_cache/obj_func.cc index 12053a7..89ae133 100644 --- a/fv_cache/obj_func.cc +++ b/fv_cache/obj_func.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "obj_func.h" #include diff --git a/fv_cache/obj_func.h b/fv_cache/obj_func.h index 57c8eae..f75378f 100644 --- a/fv_cache/obj_func.h +++ b/fv_cache/obj_func.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef OBJ_FUNC_H #define OBJ_FUNC_H diff --git a/gdetect/bounded_dt.cc b/gdetect/bounded_dt.cc index 0a44a9b..507e8c1 100644 --- a/gdetect/bounded_dt.cc +++ b/gdetect/bounded_dt.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include #include diff --git a/gdetect/compute_overlap.cc b/gdetect/compute_overlap.cc index ea1a18c..70f6658 100644 --- a/gdetect/compute_overlap.cc +++ b/gdetect/compute_overlap.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include diff --git a/gdetect/compute_overlaps.m b/gdetect/compute_overlaps.m index 9280716..ef1726e 100644 --- a/gdetect/compute_overlaps.m +++ b/gdetect/compute_overlaps.m @@ -24,6 +24,16 @@ % window for component c and the bounding box boxes(b,:). % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- num_comps = length(model.rules{model.start}); num_boxes = size(boxes, 1); diff --git a/gdetect/dt.cc b/gdetect/dt.cc index 002caaf..e36914c 100644 --- a/gdetect/dt.cc +++ b/gdetect/dt.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2007 Pedro Felzenszwalb +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include #include diff --git a/gdetect/fconv_var_dim.cc b/gdetect/fconv_var_dim.cc index e1e91a2..d891e67 100644 --- a/gdetect/fconv_var_dim.cc +++ b/gdetect/fconv_var_dim.cc @@ -1,4 +1,15 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include diff --git a/gdetect/fconv_var_dim_MT.cc b/gdetect/fconv_var_dim_MT.cc index a47bb68..f6942ac 100644 --- a/gdetect/fconv_var_dim_MT.cc +++ b/gdetect/fconv_var_dim_MT.cc @@ -1,4 +1,15 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include diff --git a/gdetect/fconvsse.cc b/gdetect/fconvsse.cc index 3548710..dc7863d 100644 --- a/gdetect/fconvsse.cc +++ b/gdetect/fconvsse.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include diff --git a/gdetect/gdetect.m b/gdetect/gdetect.m index 2788ba9..304e374 100644 --- a/gdetect/gdetect.m +++ b/gdetect/gdetect.m @@ -32,6 +32,16 @@ % tree, under the grammar model, that corresponds to each detection. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 4 max_num = inf; diff --git a/gdetect/gdetect_dp.m b/gdetect/gdetect_dp.m index 3f94f77..88bd8ff 100644 --- a/gdetect/gdetect_dp.m +++ b/gdetect/gdetect_dp.m @@ -16,6 +16,16 @@ % model Object model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % cache filter response model = filter_responses(model, pyra); diff --git a/gdetect/gdetect_parse.m b/gdetect/gdetect_parse.m index 11e0ec0..0ed56ae 100644 --- a/gdetect/gdetect_parse.m +++ b/gdetect/gdetect_parse.m @@ -18,6 +18,16 @@ % max_num Maximum number of detections to return % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Find scores above the threshold X = zeros(0, 'int32'); diff --git a/gdetect/gdetect_pos.m b/gdetect/gdetect_pos.m index c321b0f..08101bf 100644 --- a/gdetect/gdetect_pos.m +++ b/gdetect/gdetect_pos.m @@ -40,6 +40,16 @@ % Implements S(x) in WL-SSVM % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Get the non-loss adjusted detection (termed the "belief") modelp = apply_L_output(model, pyra, fg_box, fg_overlap); diff --git a/gdetect/gdetect_pos_prepare.m b/gdetect/gdetect_pos_prepare.m index 8862751..a04cd78 100644 --- a/gdetect/gdetect_pos_prepare.m +++ b/gdetect/gdetect_pos_prepare.m @@ -15,6 +15,16 @@ % and a foreground example % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % get feature pyramid pyra = featpyramid(im, model); diff --git a/gdetect/gdetect_write.m b/gdetect/gdetect_write.m index 3e00e91..ea2e922 100644 --- a/gdetect/gdetect_write.m +++ b/gdetect/gdetect_write.m @@ -20,6 +20,16 @@ % maxnum Max number of feature vectors to write % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 7 maxsize = inf; diff --git a/gdetect/get_detection_trees.cc b/gdetect/get_detection_trees.cc index 9d9400f..fb4f1e5 100644 --- a/gdetect/get_detection_trees.cc +++ b/gdetect/get_detection_trees.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2011-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include diff --git a/gdetect/imgdetect.m b/gdetect/imgdetect.m index ae32e97..021319f 100644 --- a/gdetect/imgdetect.m +++ b/gdetect/imgdetect.m @@ -10,6 +10,16 @@ % thresh Detection threshold (scores must be > thresh) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- im = color(im); pyra = featpyramid(im, model); diff --git a/gdetect/loss_func.m b/gdetect/loss_func.m index 6f8a550..2bc6a3b 100644 --- a/gdetect/loss_func.m +++ b/gdetect/loss_func.m @@ -11,6 +11,16 @@ % o Vector of overlap values % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % The PASCAL VOC detection task loss % Loss is 0 for IoU >= 0.5 diff --git a/gdetect/loss_pyramid.m b/gdetect/loss_pyramid.m index fa9ccda..e215210 100644 --- a/gdetect/loss_pyramid.m +++ b/gdetect/loss_pyramid.m @@ -26,6 +26,16 @@ % max_bg_overlap Maximum allowed amount of overlap with bg bounding boxes % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- num_bg_boxes = length(bg_boxes); diff --git a/gdetect/tree_mat_to_struct.m b/gdetect/tree_mat_to_struct.m index 641cb29..5ee4f72 100644 --- a/gdetect/tree_mat_to_struct.m +++ b/gdetect/tree_mat_to_struct.m @@ -11,6 +11,16 @@ % Each row corresponds to a field (N_* below) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Indexes into tree from get_detection_trees.cc N_PARENT = 1; diff --git a/gdetect/validate_levels.m b/gdetect/validate_levels.m index 3d6ea3b..0ca42d9 100644 --- a/gdetect/validate_levels.m +++ b/gdetect/validate_levels.m @@ -14,6 +14,16 @@ % overlap Overlap threshold % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- num_boxes = size(boxes,1); do_levels = false(pyra.num_levels, 1); diff --git a/gdetect/write_zero_fv.m b/gdetect/write_zero_fv.m index 0903bdd..93ff482 100644 --- a/gdetect/write_zero_fv.m +++ b/gdetect/write_zero_fv.m @@ -10,6 +10,16 @@ function write_zero_fv(from_pos, key) % key Feature vector cache key (see fv_cache.h and gdetect_write.m) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if from_pos % The zero vector is being used as the feature vector associated with the diff --git a/model/block_types.m b/model/block_types.m index 970b1f6..280a72c 100644 --- a/model/block_types.m +++ b/model/block_types.m @@ -1,4 +1,14 @@ % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Symbols for the various types of parameter blocks in a model classdef (Sealed) block_types diff --git a/model/getopts.m b/model/getopts.m index 93d05e4..074d7ae 100644 --- a/model/getopts.m +++ b/model/getopts.m @@ -10,6 +10,16 @@ % valid_keys Valid keys that can be extracted from in % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- map = containers.Map(); diff --git a/model/lr_root_model.m b/model/lr_root_model.m index 0185aa8..34fbb17 100644 --- a/model/lr_root_model.m +++ b/model/lr_root_model.m @@ -10,6 +10,16 @@ % model Object model from root_model.m % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Symbol for the root filter rootsym = model.rules{model.start}.rhs(1); diff --git a/model/mkpartfilters.m b/model/mkpartfilters.m index e2cd5f2..776e24e 100644 --- a/model/mkpartfilters.m +++ b/model/mkpartfilters.m @@ -12,6 +12,16 @@ % scale Number of octave shifts (>= 0) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 4 scale = 1; diff --git a/model/model_add_block.m b/model/model_add_block.m index edf1619..04f827a 100644 --- a/model/model_add_block.m +++ b/model/model_add_block.m @@ -18,6 +18,16 @@ % type Block type from the block_type enumeration % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- valid_opts = {'reg_mult', 'learn', 'lower_bounds', 'shape', 'w', 'type'}; opts = getopts(varargin, valid_opts); diff --git a/model/model_add_def_rule.m b/model/model_add_def_rule.m index 31e1cd9..a9601d1 100644 --- a/model/model_add_def_rule.m +++ b/model/model_add_def_rule.m @@ -32,6 +32,16 @@ % mirror_rule Rule structure to horizontally mirror % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- valid_opts = {'flip', 'offset_w', 'offset_blocklabel', ... 'def_w', 'def_blocklabel', ... diff --git a/model/model_add_nonterminal.m b/model/model_add_nonterminal.m index 7b453c4..8965a16 100644 --- a/model/model_add_nonterminal.m +++ b/model/model_add_nonterminal.m @@ -10,5 +10,15 @@ % m Object model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- [m, N] = model_add_symbol(m, 'N'); diff --git a/model/model_add_parts.m b/model/model_add_parts.m index 5356663..cf56526 100644 --- a/model/model_add_parts.m +++ b/model/model_add_parts.m @@ -27,6 +27,16 @@ % coef_scale Part filter coeficients are scaled by this value % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % if the filter is mirrored, find its partner so mirrored % parts can be added to it as well diff --git a/model/model_add_struct_rule.m b/model/model_add_struct_rule.m index ef15667..90620e0 100644 --- a/model/model_add_struct_rule.m +++ b/model/model_add_struct_rule.m @@ -34,6 +34,16 @@ % mirror_rule Rule structure to horizontally mirror % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- valid_opts = {'offset_w', 'offset_blocklabel', ... 'loc_w', 'loc_blocklabel', ... diff --git a/model/model_add_symbol.m b/model/model_add_symbol.m index 463ed92..f6d936b 100644 --- a/model/model_add_symbol.m +++ b/model/model_add_symbol.m @@ -11,6 +11,16 @@ % type 'N'onterminal or 'T'erminal % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % new symbol for terminal associated with filter f S = m.numsymbols + 1; diff --git a/model/model_add_terminal.m b/model/model_add_terminal.m index 5878639..0504d16 100644 --- a/model/model_add_terminal.m +++ b/model/model_add_terminal.m @@ -18,6 +18,16 @@ % mirror_terminal Terminal symbol to horizontally mirror % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- valid_opts = {'w', 'blocklabel', 'flip', 'mirror_terminal'}; opts = getopts(varargin, valid_opts); diff --git a/model/model_create.m b/model/model_create.m index add9d9f..c57b3bf 100644 --- a/model/model_create.m +++ b/model/model_create.m @@ -10,6 +10,16 @@ % note A descriptive note (e.g., 'testing new features X, Y, and Z') % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/model/model_get_block.m b/model/model_get_block.m index af8ed80..8ffc0c8 100644 --- a/model/model_get_block.m +++ b/model/model_get_block.m @@ -10,6 +10,16 @@ % obj A struct with a blocklabel field % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Backwards compatibility %if ~isfield(m, 'blocks') diff --git a/model/model_merge.m b/model/model_merge.m index 6c5ffdb..2bb1651 100644 --- a/model/model_merge.m +++ b/model/model_merge.m @@ -9,6 +9,16 @@ % models Cell array of models % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- model = models{1}; diff --git a/model/model_sort.m b/model/model_sort.m index 5ccfda0..12ee224 100644 --- a/model/model_sort.m +++ b/model/model_sort.m @@ -13,6 +13,16 @@ % V (internal use) Symbol visitation status thus far % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % initialize depth-first search at start symbol if nargin < 2 diff --git a/model/model_types.m b/model/model_types.m index ac6d6f7..256ab57 100644 --- a/model/model_types.m +++ b/model/model_types.m @@ -1,4 +1,14 @@ % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Model types: % MixStar Mixture of star models with latent orientation diff --git a/model/root_model.m b/model/root_model.m index e518ccc..0f29ef6 100644 --- a/model/root_model.m +++ b/model/root_model.m @@ -19,6 +19,17 @@ % sz Size of the root filter % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/pascal.m b/pascal.m index ffb4356..91771be 100644 --- a/pascal.m +++ b/pascal.m @@ -15,6 +15,17 @@ function pascal(cls, n, note, dotrainval, testyear) % testyear Test set year (e.g., '2007', '2011') % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- startup; diff --git a/person_grammar/add_head_parts.m b/person_grammar/add_head_parts.m index 94c074e..7ce4c93 100644 --- a/person_grammar/add_head_parts.m +++ b/person_grammar/add_head_parts.m @@ -15,6 +15,16 @@ % of newly initialized parts that are added to the model) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Terminal symbols for the two head filter subtypes X_lf = model.rules{X}(1).rhs(1); diff --git a/person_grammar/add_slab_parts.m b/person_grammar/add_slab_parts.m index 40b9d89..4f53c27 100644 --- a/person_grammar/add_slab_parts.m +++ b/person_grammar/add_slab_parts.m @@ -15,6 +15,16 @@ % of newly initialized parts that are added to the model) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % We rewrite the slab rules from % Y -struct-> Y_l | Y_r diff --git a/person_grammar/pascal_person_grammar.m b/person_grammar/pascal_person_grammar.m index 6eca7dc..57eeb09 100644 --- a/person_grammar/pascal_person_grammar.m +++ b/person_grammar/pascal_person_grammar.m @@ -1,6 +1,16 @@ function pascal_person_grammar(dotrainval, testyear) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Set configuration override global VOC_CONFIG_OVERRIDE; diff --git a/person_grammar/pascal_train_person_grammar.m b/person_grammar/pascal_train_person_grammar.m index b181ab1..2e8c986 100644 --- a/person_grammar/pascal_train_person_grammar.m +++ b/person_grammar/pascal_train_person_grammar.m @@ -5,6 +5,16 @@ % example: note = 'testing FRHOG (FRobnicated HOG) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % At every "checkpoint" in the training process we reset the % RNG's seed to a fixed value so that experimental results are diff --git a/person_grammar/person_grammar_init.m b/person_grammar/person_grammar_init.m index 22c0023..26b4774 100644 --- a/person_grammar/person_grammar_init.m +++ b/person_grammar/person_grammar_init.m @@ -3,6 +3,16 @@ % model = person_init_grammar() % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- model = train_full_person_2x_res(); model = make_person_grammar_occ_def(model); diff --git a/person_grammar/visualize_person_grammar_model.m b/person_grammar/visualize_person_grammar_model.m index 1adf1c3..01927a7 100644 --- a/person_grammar/visualize_person_grammar_model.m +++ b/person_grammar/visualize_person_grammar_model.m @@ -1,6 +1,16 @@ function visualize_simple_grammar_model_def(model, comps, direction) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- clf; diff --git a/person_grammar/voc_config_person_grammar.m b/person_grammar/voc_config_person_grammar.m index 344bd7a..1a9c7ab 100644 --- a/person_grammar/voc_config_person_grammar.m +++ b/person_grammar/voc_config_person_grammar.m @@ -2,6 +2,16 @@ % Set up configuration variables % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf.pascal.year = '2010'; conf.project = 'rel5-dev/rc2-person-grammar'; diff --git a/process.m b/process.m index e55dc19..4b0347d 100644 --- a/process.m +++ b/process.m @@ -15,6 +15,17 @@ % thresh Detection threshold % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 3 thresh = model.thresh diff --git a/sample_voc_config_override.m b/sample_voc_config_override.m index 3238cce..d31449e 100644 --- a/sample_voc_config_override.m +++ b/sample_voc_config_override.m @@ -6,6 +6,16 @@ % >> VOC_CONFIG_OVERRIDE = @sample_voc_config_override; % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf.custom_key = 'custom value'; conf.project = 'sample project'; diff --git a/star-cascade/cascade.cc b/star-cascade/cascade.cc index d9a0a66..bccff1d 100644 --- a/star-cascade/cascade.cc +++ b/star-cascade/cascade.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include "model.h" diff --git a/star-cascade/cascade_compile.m b/star-cascade/cascade_compile.m index ed78f8d..23afb45 100644 --- a/star-cascade/cascade_compile.m +++ b/star-cascade/cascade_compile.m @@ -11,6 +11,16 @@ function cascade_compile(opt, verb) % verb Verbose output (default: off) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if ispc error('This code is not supported on Windows.'); diff --git a/star-cascade/cascade_data.m b/star-cascade/cascade_data.m index 2885d0c..a7df79e 100644 --- a/star-cascade/cascade_data.m +++ b/star-cascade/cascade_data.m @@ -16,6 +16,16 @@ function cascade_data(model, data_year, pca_dim) % pca_dim Number of PCA components to use % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); cscdir = conf.cascade.data_dir; diff --git a/star-cascade/cascade_detect.m b/star-cascade/cascade_detect.m index aced7b0..97c9de0 100644 --- a/star-cascade/cascade_detect.m +++ b/star-cascade/cascade_detect.m @@ -1,6 +1,16 @@ function [dets, boxes, t] = cascade_detect(pyra, model, thresh) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- th = tic(); diff --git a/star-cascade/cascade_model.m b/star-cascade/cascade_model.m index eab6438..80a3b86 100644 --- a/star-cascade/cascade_model.m +++ b/star-cascade/cascade_model.m @@ -8,6 +8,16 @@ % thresh global detection threshold % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', data_year); cscdir = conf.cascade.data_dir; diff --git a/star-cascade/cascade_test.m b/star-cascade/cascade_test.m index eaa2506..2f09ca7 100644 --- a/star-cascade/cascade_test.m +++ b/star-cascade/cascade_test.m @@ -8,6 +8,16 @@ % (these are saved in the cache file, but not returned by the function) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year, ... 'eval.test_set', testset); diff --git a/star-cascade/gdetect_pos_c.m b/star-cascade/gdetect_pos_c.m index e6b1a51..6bbb11d 100644 --- a/star-cascade/gdetect_pos_c.m +++ b/star-cascade/gdetect_pos_c.m @@ -33,6 +33,16 @@ % valid % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Get the non-loss adjusted detection (termed the "belief") modelp = apply_L_output(model, pyra, valid); diff --git a/star-cascade/gdetect_pos_prepare_c.m b/star-cascade/gdetect_pos_prepare_c.m index 57b6356..1f26f2a 100644 --- a/star-cascade/gdetect_pos_prepare_c.m +++ b/star-cascade/gdetect_pos_prepare_c.m @@ -12,6 +12,16 @@ % model Object model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % get feature pyramid pyra = featpyramid(im, model); diff --git a/star-cascade/get_block_scores.m b/star-cascade/get_block_scores.m index def3ee5..a3d7d98 100644 --- a/star-cascade/get_block_scores.m +++ b/star-cascade/get_block_scores.m @@ -6,6 +6,16 @@ % info detection info from gdetect.m % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- scores = zeros(length(trees), model.numblocks); loc_f = loc_feat(model, pyra.num_levels); diff --git a/star-cascade/grammar2simple.m b/star-cascade/grammar2simple.m index 8d6fb9b..4b13a20 100644 --- a/star-cascade/grammar2simple.m +++ b/star-cascade/grammar2simple.m @@ -9,6 +9,16 @@ % gm grammar model returned by project_model.m % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- %% copy scalars m.sbin = gm.sbin; diff --git a/star-cascade/model.cc b/star-cascade/model.cc index e9c2def..cda867a 100644 --- a/star-cascade/model.cc +++ b/star-cascade/model.cc @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #include "mex.h" #include "model.h" diff --git a/star-cascade/model.h b/star-cascade/model.h index 8ff30d7..7e246ca 100644 --- a/star-cascade/model.h +++ b/star-cascade/model.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef MODEL_H #define MODEL_H diff --git a/star-cascade/pca_of_hog.m b/star-cascade/pca_of_hog.m index 79ecd54..23a7352 100644 --- a/star-cascade/pca_of_hog.m +++ b/star-cascade/pca_of_hog.m @@ -5,6 +5,16 @@ cachedir = conf.paths.model_dir; % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- try load([cachedir 'pca']); diff --git a/star-cascade/project.m b/star-cascade/project.m index bbd0ec6..5ec6989 100644 --- a/star-cascade/project.m +++ b/star-cascade/project.m @@ -4,6 +4,16 @@ % project filter f onto PCA eigenvectors (columns of) coeff % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- sz = size(f); p = reshape(f, [sz(1)*sz(2) sz(3)]); diff --git a/star-cascade/project_model.m b/star-cascade/project_model.m index 9789d47..c032b81 100644 --- a/star-cascade/project_model.m +++ b/star-cascade/project_model.m @@ -8,6 +8,16 @@ % 'pcamodel' has its filters replaced with the PCA filters. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % take the top k eigenvectors from coeff as the projection matrix coeff = coeff(:, 1:k); diff --git a/star-cascade/project_pyramid.m b/star-cascade/project_pyramid.m index 1ee6359..1ed7f2d 100644 --- a/star-cascade/project_pyramid.m +++ b/star-cascade/project_pyramid.m @@ -5,6 +5,16 @@ % in model.coeff. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- for i = 1:pyra.num_levels pyra.feat{i} = project(pyra.feat{i}, model.pca_coeff); diff --git a/star-cascade/timer.h b/star-cascade/timer.h index 048c607..845bd6d 100644 --- a/star-cascade/timer.h +++ b/star-cascade/timer.h @@ -1,4 +1,14 @@ // AUTORIGHTS +// ------------------------------------------------------- +// Copyright (C) 2009-2012 Ross Girshick +// +// This file is part of the voc-releaseX code +// (http://people.cs.uchicago.edu/~rbg/latent/) +// and is available under the terms of an MIT-like license +// provided in COPYING. Please retain this notice and +// COPYING if you use this file (or a portion of it) in +// your project. +// ------------------------------------------------------- #ifndef _TIMER_H_ #define _TIMER_H_ diff --git a/startup.m b/startup.m index ffba27c..6ae40c9 100644 --- a/startup.m +++ b/startup.m @@ -1,4 +1,14 @@ % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Prepares your matlab workspace for using voc-release5. global G_STARTUP; diff --git a/test/clipboxes.m b/test/clipboxes.m index bb7b63f..c46541c 100644 --- a/test/clipboxes.m +++ b/test/clipboxes.m @@ -18,6 +18,17 @@ % bs Filter bounding boxes (see pascal_test.m) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 3 bs = []; diff --git a/test/nms.m b/test/nms.m index 56c75d6..1a0af36 100644 --- a/test/nms.m +++ b/test/nms.m @@ -17,6 +17,18 @@ % union measure. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if isempty(boxes) pick = []; diff --git a/test/pascal_eval.m b/test/pascal_eval.m index 5f876f7..ee31885 100644 --- a/test/pascal_eval.m +++ b/test/pascal_eval.m @@ -16,6 +16,17 @@ % [cls '_pr_' testset '_' suffix] % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year, ... 'eval.test_set', testset); diff --git a/test/pascal_test.m b/test/pascal_test.m index 530362b..c9aec72 100644 --- a/test/pascal_test.m +++ b/test/pascal_test.m @@ -18,6 +18,17 @@ % and the unclipped detection window in ds % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('pascal.year', year, ... 'eval.test_set', testset); diff --git a/train/croppos.m b/train/croppos.m index 6056363..0fd1ca2 100644 --- a/train/croppos.m +++ b/train/croppos.m @@ -11,6 +11,17 @@ % boxes Set of bounding boxes in the image % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Bounding box of all of the bounding boxes box = [min(boxes(:,1)) min(boxes(:,2)) ... diff --git a/train/lrsplit.m b/train/lrsplit.m index ae309cb..292e67e 100644 --- a/train/lrsplit.m +++ b/train/lrsplit.m @@ -16,6 +16,17 @@ % copies of each other) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/train/pascal_train.m b/train/pascal_train.m index 23d9742..b27414d 100644 --- a/train/pascal_train.m +++ b/train/pascal_train.m @@ -12,6 +12,17 @@ % note Save a note in the model.note field that describes this model % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % At every "checkpoint" in the training process we reset the % RNG's seed to a fixed value so that experimental results are diff --git a/train/seed_rand.m b/train/seed_rand.m index f8c17e1..b433c85 100644 --- a/train/seed_rand.m +++ b/train/seed_rand.m @@ -3,6 +3,17 @@ function seed_rand() % This ensures that results are reproducible % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Try to make different versions of matlab happy try diff --git a/train/split.m b/train/split.m index b2c75a1..6a595bd 100644 --- a/train/split.m +++ b/train/split.m @@ -12,6 +12,17 @@ % n Number of aspect ratio clusters % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- h = [pos(:).y2]' - [pos(:).y1]' + 1; w = [pos(:).x2]' - [pos(:).x1]' + 1; diff --git a/train/subarray.m b/train/subarray.m index d9d0132..997c839 100644 --- a/train/subarray.m +++ b/train/subarray.m @@ -15,6 +15,18 @@ % false => pad with zeros % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- dim = size(A); diff --git a/train/train.m b/train/train.m index 303ae0e..d9ccd6c 100644 --- a/train/train.m +++ b/train/train.m @@ -24,6 +24,16 @@ % C Regularization/surrogate loss tradeoff parameter % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/train/trainval.m b/train/trainval.m index 2ec3efb..576eebd 100644 --- a/train/trainval.m +++ b/train/trainval.m @@ -13,6 +13,17 @@ % (if no class is specified all classes are evaluated) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 1 % pass no arguments in order to run on all classes diff --git a/train/warppos.m b/train/warppos.m index a07a963..9710a3d 100644 --- a/train/warppos.m +++ b/train/warppos.m @@ -12,6 +12,18 @@ % pos Positive examples from pascal_data.m % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- fi = model.symbols(model.rules{model.start}.rhs).filter; fsize = model.filters(fi).size; diff --git a/utils/auc_ap_2007.m b/utils/auc_ap_2007.m index f822712..542ea6f 100644 --- a/utils/auc_ap_2007.m +++ b/utils/auc_ap_2007.m @@ -4,6 +4,16 @@ function auc_ap_2007(path, suffix) % getting less noisy results on the 2007 test set. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); VOCopts = conf.pascal.VOCopts; diff --git a/utils/bootstrap/test_stats.m b/utils/bootstrap/test_stats.m index 1aba375..6a81460 100644 --- a/utils/bootstrap/test_stats.m +++ b/utils/bootstrap/test_stats.m @@ -1,6 +1,16 @@ function test_stats(cls, testset, year, B) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config('project', 'fv_cache', ... 'pascal.year', year, ... diff --git a/utils/boxoverlap.m b/utils/boxoverlap.m index 252fc5f..651f5fe 100644 --- a/utils/boxoverlap.m +++ b/utils/boxoverlap.m @@ -6,6 +6,17 @@ % b a single bounding box % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- x1 = max(a(:,1), b(1)); y1 = max(a(:,2), b(2)); diff --git a/utils/five2four.m b/utils/five2four.m index 237ee1d..757b13e 100644 --- a/utils/five2four.m +++ b/utils/five2four.m @@ -7,6 +7,16 @@ % expect their performance to be exactly the same. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- fprintf(['\n\n' ... 'This will convert a model trained with voc-release5\n' ... diff --git a/utils/model_attach_weights.m b/utils/model_attach_weights.m index ec08088..d7bc9ac 100644 --- a/utils/model_attach_weights.m +++ b/utils/model_attach_weights.m @@ -1,6 +1,16 @@ function model = model_attach_weights(model) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- for i = 1:model.numfilters w = model_get_block(model, model.filters(i)); diff --git a/utils/model_cmp.m b/utils/model_cmp.m index 9aaa10c..6f1714d 100644 --- a/utils/model_cmp.m +++ b/utils/model_cmp.m @@ -1,6 +1,16 @@ function t = model_cmp(m1, m2) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- [v1, b1, map1] = model2blocks(m1); [v2, b2, map2] = model2blocks(m2); diff --git a/utils/model_norms.m b/utils/model_norms.m index 2cbce1a..d290d3b 100644 --- a/utils/model_norms.m +++ b/utils/model_norms.m @@ -7,6 +7,16 @@ function model_norms(model) % model Object model (must be a mixture of star models with latent orientation) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- assert(model.type == model_types.MixStar); diff --git a/utils/procid.m b/utils/procid.m index f00e215..48e1938 100644 --- a/utils/procid.m +++ b/utils/procid.m @@ -2,6 +2,16 @@ % Returns a string identifying the process. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- d = pwd(); i = strfind(d, '/'); diff --git a/utils/reduceboxes.m b/utils/reduceboxes.m index 238da32..32178fe 100644 --- a/utils/reduceboxes.m +++ b/utils/reduceboxes.m @@ -16,6 +16,16 @@ % bs Filter bounding boxes % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Only reduce boxes for mixtures of star models if model.type ~= model_types.MixStar diff --git a/utils/report.m b/utils/report.m index 604d5cc..31f826c 100644 --- a/utils/report.m +++ b/utils/report.m @@ -2,6 +2,16 @@ function report(dir1, suffix1, showcls, do_auc_ap) % Print scores for all classes. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/utils/report_cmp.m b/utils/report_cmp.m index e85d8bf..9c4db90 100644 --- a/utils/report_cmp.m +++ b/utils/report_cmp.m @@ -2,6 +2,16 @@ function report_cmp(dir1, suffix1, dir2, suffix2) % Compare two different result sets. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/utils/rndtest.m b/utils/rndtest.m index 0231b39..335e9c6 100644 --- a/utils/rndtest.m +++ b/utils/rndtest.m @@ -2,6 +2,16 @@ % Randomized (permutation) paired sample test % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin < 3 B = 100000; diff --git a/utils/showboxesc.m b/utils/showboxesc.m index d8b3fd3..a7fec26 100644 --- a/utils/showboxesc.m +++ b/utils/showboxesc.m @@ -3,6 +3,16 @@ function showboxesc(im, boxes, c) % Draw boxes on top of image. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- %clf; image(im); diff --git a/utils/showposlat.m b/utils/showposlat.m index c0af3ef..69c37a3 100644 --- a/utils/showposlat.m +++ b/utils/showposlat.m @@ -1,6 +1,16 @@ function showposlat(model, start, pos, fp_count, overlap) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/utils/tic_toc_print.m b/utils/tic_toc_print.m index 0232e84..12db104 100644 --- a/utils/tic_toc_print.m +++ b/utils/tic_toc_print.m @@ -3,6 +3,16 @@ function tic_toc_print(fmt, varargin) % Arguments are the same as for fprintf. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- persistent th; diff --git a/utils/viewerrors.m b/utils/viewerrors.m index 5156fc6..0005aeb 100644 --- a/utils/viewerrors.m +++ b/utils/viewerrors.m @@ -2,6 +2,16 @@ % For visualizing mistakes on a validation set % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2009-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- warning on verbose; warning off MATLAB:HandleGraphics:noJVM; diff --git a/vis/HOGpicture.m b/vis/HOGpicture.m index 3957f98..e2502af 100644 --- a/vis/HOGpicture.m +++ b/vis/HOGpicture.m @@ -3,6 +3,18 @@ % im = HOGpicture(w, bs) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % construct a "glyph" for each orientaion bim1 = zeros(bs, bs); diff --git a/vis/foldHOG.m b/vis/foldHOG.m index 7e2d705..0ff77a7 100644 --- a/vis/foldHOG.m +++ b/vis/foldHOG.m @@ -5,6 +5,18 @@ % Used for displaying features and filters % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Return the contrast insensitive orientations f = w(:,:,19:27); diff --git a/vis/showboxes.m b/vis/showboxes.m index f14ead5..70db6c2 100644 --- a/vis/showboxes.m +++ b/vis/showboxes.m @@ -5,6 +5,18 @@ function showboxes(im, boxes, out) % If out is given, a pdf of the image is generated (requires export_fig). % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- if nargin > 2 % different settings for producing pdfs diff --git a/vis/vis_derived_filter.m b/vis/vis_derived_filter.m index de07753..c3a81b0 100644 --- a/vis/vis_derived_filter.m +++ b/vis/vis_derived_filter.m @@ -1,6 +1,16 @@ function f = vis_derived_filter(model, tree) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf = voc_config(); diff --git a/vis/vis_grammar.m b/vis/vis_grammar.m index a13816d..6831d77 100644 --- a/vis/vis_grammar.m +++ b/vis/vis_grammar.m @@ -1,6 +1,16 @@ function vis_grammar(model) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % visualize random derivations...forever while true diff --git a/vis/visualizeHOG.m b/vis/visualizeHOG.m index f1d2761..cbc342a 100644 --- a/vis/visualizeHOG.m +++ b/vis/visualizeHOG.m @@ -3,6 +3,18 @@ function visualizeHOG(w) % visualizeHOG(w) % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% Copyright (C) 2007 Pedro Felzenszwalb, Deva Ramanan +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % Make pictures of positive and negative weights bs = 20; diff --git a/vis/visualizemodel.m b/vis/visualizemodel.m index a68abbc..7814fe9 100644 --- a/vis/visualizemodel.m +++ b/vis/visualizemodel.m @@ -7,6 +7,17 @@ function visualizemodel(model, components, layers) % components Which components to draw % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% Copyright (C) 2008, 2009, 2010 Pedro Felzenszwalb, Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- clf; if nargin < 2 diff --git a/voc_config.m b/voc_config.m index 0213507..f94416b 100644 --- a/voc_config.m +++ b/voc_config.m @@ -15,6 +15,16 @@ % is cleared. See sample_voc_config_override.m for an example. % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- % % ~~~~~~~~~~~~~~~~~~~~~~ BASIC SETUP ~~~~~~~~~~~~~~~~~~~~~~ diff --git a/voc_config_inriaperson.m b/voc_config_inriaperson.m index 0f1ea24..498796a 100644 --- a/voc_config_inriaperson.m +++ b/voc_config_inriaperson.m @@ -8,5 +8,15 @@ % SEE: INRIA/README for more details % AUTORIGHTS +% ------------------------------------------------------- +% Copyright (C) 2011-2012 Ross Girshick +% +% This file is part of the voc-releaseX code +% (http://people.cs.uchicago.edu/~rbg/latent/) +% and is available under the terms of an MIT-like license +% provided in COPYING. Please retain this notice and +% COPYING if you use this file (or a portion of it) in +% your project. +% ------------------------------------------------------- conf.training.C = 0.006;