Skip to content
Browse files

GPL -> BSD: adds some missing notices

  • Loading branch information...
1 parent 6e70449 commit c1b878c8db0e3f76f8be1eca8c6253c682f66afc @vedaldi vedaldi committed Dec 23, 2011
View
9 toolbox/geometry/vl_hat.m
@@ -5,8 +5,9 @@
%
% See also: VL_IHAT(), VL_HELP().
-H = [
- 0 -om(3) om(2) ;
- om(3) 0 -om(1) ;
- -om(2) om(1) 0 ] ;
+% Copyright
+
+H = [0 -om(3) om(2) ;
+ om(3) 0 -om(1) ;
+ -om(2) om(1) 0 ] ;
View
2 toolbox/geometry/vl_ihat.m
@@ -5,5 +5,7 @@
%
% See also: VL_HAT(), VL_HELP().
+% Copyright
+
om = [H(3,2);H(1,3);H(2,1)] ;
View
1 toolbox/geometry/vl_irodr.m
@@ -16,3 +16,4 @@
%
% See also: VL_RODR(), VL_HELP().
+% Copyright
View
2 toolbox/imop/vl_imgrad.m
@@ -11,6 +11,8 @@
%
% See also: GRADIENT(), VL_HELP().
+% Copyright
+
type = 'central' ; % forward, backward
for k=1:2:length(varargin)
View
2 toolbox/imop/vl_imtest.m
@@ -1,6 +1,8 @@
function I = vl_imtest(type, varargin)
% VL_IMTEST
+% Copyright
+
switch lower(type)
case 'box'
I = imread(fullfile(vl_root, 'data', 'box.pgm')) ;
View
2 toolbox/imop/vl_imwhiten.m
@@ -12,6 +12,8 @@
%
% See also: VL_HELP().
+% Copyright
+
if ~exist('alpha'), alpha = 1 ; end
if ~exist('cutoff'), cutoff = [] ; end
View
2 toolbox/imop/vl_tpsu.m
@@ -16,6 +16,8 @@
%
% See also: VL_TPS(), VL_HELP().
+% Copyright
+
if exist('tpsumx')
U = tpsumx(X,Y) ;
else
View
2 toolbox/kmeans/vl_ikmeanspush.m
@@ -4,3 +4,5 @@
%
% See also: VL_IKMEANS(), VL_HELP().
+% Copyright
+
View
2 toolbox/quickshift/vl_flatmap.m
@@ -6,6 +6,8 @@
%
% See also: VL_HELP().
+% Copyright
+
% follow the parents list to the root nodes (where nothing changes)
while 1
map_ = map(map) ;
View
2 toolbox/quickshift/vl_imseg.m
@@ -5,6 +5,8 @@
%
% See also: VL_HELP().
+% Copyright
+
[M,N,K] = size(I) ;
Q = 0*I ;
for k=1:size(I,3)
View
2 toolbox/quickshift/vl_quickseg.m
@@ -29,6 +29,8 @@
%
% See also: VL_HELP().
+% Copyright
+
I = im2double(I);
% Add less than one pixel noise to break ties caused by constant regions in an
% arbitrary fashon
View
4 toolbox/quickshift/vl_quickshift.c
@@ -5,6 +5,10 @@
** @brief: Quickshift MEX driver
**/
+/*
+Copyright
+*/
+
#include <mexutils.h>
#include <vl/quickshift.h>
View
2 toolbox/special/vl_ddgaussian.m
@@ -1,5 +1,5 @@
function y = vl_ddgaussian(x)
-% VL_DDGAUSSIAN Second derivative of Gaussian density
+% VL_DDGAUSSIAN Second derivative of the Gaussian density function
% Y=VL_DDGAUSSIAN(X) computes the second derivative of the standard
% Gaussian density.
%
View
2 toolbox/special/vl_dgaussian.m
@@ -1,5 +1,5 @@
function y = vl_dgaussian(x)
-% VL_DGAUSSIAN Derivative of Gaussian density
+% VL_DGAUSSIAN Derivative of the Gaussian density function
% Y=VL_DGAUSSIAN(X) evaluates the derivative of the standard Gaussian
% density.
%
View
4 toolbox/special/vl_dsigmoid.m
@@ -1,10 +1,12 @@
function y = vl_dsigmoid(x)
-% VL_DSIGMOID Derivative of vl_sigmoid function
+% VL_DSIGMOID Derivative of the sigmoid function
% Y = VL_DSIGMOID(X) returns the derivative of VL_SIGMOID(X). This is
% calculated as - VL_SIGMOID(X) * (1 - VL_SIGMOID(X)).
%
% See also: VL_SIGMOID(X), VL_HELP().
+% Copyright
+
t = vl_sigmoid(x) ;
y = t .* (1 - t) ;
View
2 toolbox/special/vl_gaussian.m
@@ -1,5 +1,5 @@
function y = vl_gaussian(x)
-% VL_GAUSSIAN Standard Gaussian density
+% VL_GAUSSIAN Standard Gaussian density function
% Y=VL_GAUSSIAN(X) computes the standard (zero mean, unit variance)
% Gaussian density.
%
View
11 toolbox/special/vl_rcos.m
@@ -1,15 +1,16 @@
-function y=vl_rcos(r,x)
-% VL_RCOS vl_rcos function
-% Y=VL_RCOS(R,X) computes the RCOS function with roll-off R.
+function y = vl_rcos(r,x)
+% VL_RCOS RCOS function
+% Y = VL_RCOS(R,X) computes the RCOS function with roll-off R.
%
% See also: VL_HELP().
+% Copyright
+
x = abs(x) ;
if(r > 0)
y = (x < (1 - r)) + ...
- 0.5 * (1 + cos( (1 - r - x)/r*pi)) .* ...
+ 0.5 * (1 + cos((1 - r - x)/r*pi)) .* ...
(x <= 1) .* (x >= 1 - r) ;
else
y = (abs(x) <= 1) ;
end
-
View
2 toolbox/vl_noprefix.m
@@ -8,6 +8,8 @@
%
% See also: VL_COMPILE(), VL_HELP().
+% Copyright
+
root = fileparts(which(mfilename)) ;
list = listMFilesX(root);
outDir = fullfile(root, 'noprefix') ;
View
8 vl/array.c
@@ -1,8 +1,12 @@
-/** @file array.h
- ** @brief Array
+/** @file array.h
+ ** @brief Array
** @author Andrea Vedaldi
**/
+/*
+Copyright
+*/
+
#include "array.h"
#include <string.h>
View
8 vl/array.h
@@ -1,8 +1,12 @@
-/** @file array.h
- ** @brief Array
+/** @file array.h
+ ** @brief Array - Definition
** @author Andrea Vedaldi
**/
+/*
+Copyright
+*/
+
#ifndef VL_ARRAY_H
#define VL_ARRAY_H
View
14 vl/lbp.c
@@ -1,10 +1,11 @@
-/** @file lbp.c
- ** @brief Local Binary Patterns - Definition
+/** @file lbp.c
+ ** @brief Local Binary Patterns - Definition
** @author Andrea Vedaldi
**/
-#include "lbp.h"
-#include "mathop.h"
+/*
+Copyright
+*/
/** @file lbp.h
@@ -75,7 +76,10 @@ when the image is column major rather than row major.
gray-scale and rotation invariant texture classification with
local binary patterns". PAMI, 2010.
- **/
+**/
+
+#include "lbp.h"
+#include "mathop.h"
/* ---------------------------------------------------------------- */
/* Initialization helpers */
View
8 vl/lbp.h
@@ -1,8 +1,12 @@
-/** @file lbp.h
- ** @brief Local Binary Patterns
+/** @file lbp.h
+ ** @brief Local Binary Patterns
** @author Andre Vedaldi
**/
+/*
+Copyright
+*/
+
#include "generic.h"
/** @brief Type of quantization for LBP features */
View
4 vl/pegasos.h
@@ -3,6 +3,10 @@
** @author Andrea Vedaldi
**/
+/*
+Copyright
+*/
+
#ifndef VL_PEGASOS_H
#define VL_PEGASOS_H
View
4 vl/slic.h
@@ -3,6 +3,10 @@
** @author Andrea Vedaldi
**/
+/*
+Copyright
+*/
+
#ifndef VL_SLIC
#define VL_SLIC

0 comments on commit c1b878c

Please sign in to comment.
Something went wrong with that request. Please try again.