Skip to content

Commit 8125a05

Browse files
committed
Updated copyright for all M-files to use single-line format. Reformatted some help text that was longer than 80 columns.
1 parent 6b1b17f commit 8125a05

File tree

172 files changed

+602
-2696
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+602
-2696
lines changed

toolbox/@Camera/Camera.m

+1-17
Original file line numberDiff line numberDiff line change
@@ -47,23 +47,7 @@
4747
%
4848
% See also CentralCamera, SphericalCamera, FishEyeCamera, CatadiptricCamera.
4949

50-
51-
% Copyright (C) 1995-2009, by Peter I. Corke
52-
%
53-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
54-
%
55-
% MVTB is free software: you can redistribute it and/or modify
56-
% it under the terms of the GNU Lesser General Public License as published by
57-
% the Free Software Foundation, either version 3 of the License, or
58-
% (at your option) any later version.
59-
%
60-
% MVTB is distributed in the hope that it will be useful,
61-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
62-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
63-
% GNU Lesser General Public License for more details.
64-
%
65-
% You should have received a copy of the GNU Leser General Public License
66-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
50+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
6751

6852
% TODO:
6953
% make a parent imaging class and subclass perspective, fisheye, panocam

toolbox/@Camera/plot_camera.m

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
function h = plot_camera(c, varargin)
12
%Camera.plot_camera Display camera icon in world view
23
%
34
% C.plot_camera(OPTIONS) draw a camera as a simple 3D model in the current
@@ -17,7 +18,7 @@
1718
% - A line between the red faces is parallel to the x-axis, between the
1819
% green faces is parallel to the y-axis.
1920

20-
function h = plot_camera(c, varargin)
21+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
2122

2223
opt.pose = c.T;
2324
opt.scale = [];

toolbox/@CentralCamera/..@Camera/showpose.m

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
% The sides are colored red, green, blue corresponding to the X, Y, Z axes
1010
% respectively.
1111

12+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
1213

1314
function h = showpose(c, T, sz)
1415

toolbox/@CentralCamera/CentralCamera.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -81,25 +81,7 @@
8181
%
8282
% See also Camera.
8383

84-
85-
% Copyright (C) 1993-2017, by Peter I. Corke
86-
%
87-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
88-
%
89-
% MVTB is free software: you can redistribute it and/or modify
90-
% it under the terms of the GNU Lesser General Public License as published by
91-
% the Free Software Foundation, either version 3 of the License, or
92-
% (at your option) any later version.
93-
%
94-
% MVTB is distributed in the hope that it will be useful,
95-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
96-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
97-
% GNU Lesser General Public License for more details.
98-
%
99-
% You should have received a copy of the GNU Leser General Public License
100-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
101-
%
102-
% http://www.petercorke.com
84+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
10385

10486
%TODO
10587
% method to undo lens distortion

toolbox/@CentralCamera/estpose.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,7 @@
1010
% Int. Journal on Computer Vision,
1111
% vol. 81, pp. 155-166, Feb. 2009.
1212

13-
14-
% Copyright (C) 1993-2017, by Peter I. Corke
15-
%
16-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
17-
%
18-
% MVTB is free software: you can redistribute it and/or modify
19-
% it under the terms of the GNU Lesser General Public License as published by
20-
% the Free Software Foundation, either version 3 of the License, or
21-
% (at your option) any later version.
22-
%
23-
% MVTB is distributed in the hope that it will be useful,
24-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
25-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26-
% GNU Lesser General Public License for more details.
27-
%
28-
% You should have received a copy of the GNU Leser General Public License
29-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
30-
%
31-
% http://www.petercorke.com
13+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
3214

3315
function T = estpose(c, XYZ, uv)
3416

toolbox/@CentralCamera/flowfield.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,7 @@
55
%
66
% See also QUIVER.
77

8-
9-
% Copyright (C) 1993-2017, by Peter I. Corke
10-
%
11-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
12-
%
13-
% MVTB is free software: you can redistribute it and/or modify
14-
% it under the terms of the GNU Lesser General Public License as published by
15-
% the Free Software Foundation, either version 3 of the License, or
16-
% (at your option) any later version.
17-
%
18-
% MVTB is distributed in the hope that it will be useful,
19-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
20-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21-
% GNU Lesser General Public License for more details.
22-
%
23-
% You should have received a copy of the GNU Leser General Public License
24-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
25-
%
26-
% http://www.petercorke.com
8+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
279

2810
function flowfield(cam, vel)
2911
a = 50:100:1000;

toolbox/@CentralCamera/private/getrotT.m

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
function [R, T]=getrotT(wpts,cpts);
2-
3-
% This routine solves the exterior orientation problem for a point cloud
2+
%getrotT This routine solves the exterior orientation problem for a point cloud
43
% given in both camera and world coordinates.
54

65
% wpts = 3D points in arbitrary reference frame
76
% cpts = 3D points in camera reference frame
7+
8+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
89

910
n=size(wpts,1);
1011
M=zeros(3);

toolbox/@CentralCamera/private/invhomog.m

+1-17
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,7 @@
2020
%
2121
% See also HOMOGRAPHY.
2222

23-
24-
% Copyright (C) 1993-2011, by Peter I. Corke
25-
%
26-
% This file is part of The Robotics Toolbox for Matlab (RTB).
27-
%
28-
% RTB is free software: you can redistribute it and/or modify
29-
% it under the terms of the GNU Lesser General Public License as published by
30-
% the Free Software Foundation, either version 3 of the License, or
31-
% (at your option) any later version.
32-
%
33-
% RTB is distributed in the hope that it will be useful,
34-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
35-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
36-
% GNU Lesser General Public License for more details.
37-
%
38-
% You should have received a copy of the GNU Leser General Public License
39-
% along with RTB. If not, see <http://www.gnu.org/licenses/>.
23+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
4024

4125
function solutions = invhomog(H, varargin)
4226

toolbox/@CentralCamera/visjac_e.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,7 @@
1515
%
1616
% See also CentralCamera.visjac_p, CentralCamera.visjac_p_polar, CentralCamera.visjac_l.
1717

18-
19-
% Copyright (C) 1993-2017, by Peter I. Corke
20-
%
21-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
22-
%
23-
% MVTB is free software: you can redistribute it and/or modify
24-
% it under the terms of the GNU Lesser General Public License as published by
25-
% the Free Software Foundation, either version 3 of the License, or
26-
% (at your option) any later version.
27-
%
28-
% MVTB is distributed in the hope that it will be useful,
29-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
30-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-
% GNU Lesser General Public License for more details.
32-
%
33-
% You should have received a copy of the GNU Leser General Public License
34-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
35-
%
36-
% http://www.petercorke.com
18+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
3719

3820
function L = visjac_e(cam, A, plane)
3921

toolbox/@CentralCamera/visjac_l.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,7 @@
1717
%
1818
% See also CentralCamera.visjac_p, CentralCamera.visjac_p_polar, CentralCamera.visjac_e.
1919

20-
21-
% Copyright (C) 1993-2017, by Peter I. Corke
22-
%
23-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
24-
%
25-
% MVTB is free software: you can redistribute it and/or modify
26-
% it under the terms of the GNU Lesser General Public License as published by
27-
% the Free Software Foundation, either version 3 of the License, or
28-
% (at your option) any later version.
29-
%
30-
% MVTB is distributed in the hope that it will be useful,
31-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
32-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33-
% GNU Lesser General Public License for more details.
34-
%
35-
% You should have received a copy of the GNU Leser General Public License
36-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
37-
%
38-
% http://www.petercorke.com
20+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
3921

4022
function L = visjac_l(cam, f, plane)
4123

toolbox/@CentralCamera/visjac_p.m

+1-20
Original file line numberDiff line numberDiff line change
@@ -15,26 +15,7 @@
1515
%
1616
% See also CentralCamera.visjac_p_polar, CentralCamera.visjac_l, CentralCamera.visjac_e.
1717

18-
19-
20-
% Copyright (C) 1993-2017, by Peter I. Corke
21-
%
22-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
23-
%
24-
% MVTB is free software: you can redistribute it and/or modify
25-
% it under the terms of the GNU Lesser General Public License as published by
26-
% the Free Software Foundation, either version 3 of the License, or
27-
% (at your option) any later version.
28-
%
29-
% MVTB is distributed in the hope that it will be useful,
30-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
31-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32-
% GNU Lesser General Public License for more details.
33-
%
34-
% You should have received a copy of the GNU Leser General Public License
35-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
36-
%
37-
% http://www.petercorke.com
18+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
3819

3920
function L = visjac_p(cam, uv, Z)
4021

toolbox/@CentralCamera/visjac_p_polar.m

+1-20
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,7 @@
1616
%
1717
% See also CentralCamera.visjac_p, CentralCamera.visjac_l, CentralCamera.visjac_e.
1818

19-
20-
21-
% Copyright (C) 1993-2017, by Peter I. Corke
22-
%
23-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
24-
%
25-
% MVTB is free software: you can redistribute it and/or modify
26-
% it under the terms of the GNU Lesser General Public License as published by
27-
% the Free Software Foundation, either version 3 of the License, or
28-
% (at your option) any later version.
29-
%
30-
% MVTB is distributed in the hope that it will be useful,
31-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
32-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
33-
% GNU Lesser General Public License for more details.
34-
%
35-
% You should have received a copy of the GNU Leser General Public License
36-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
37-
%
38-
% http://www.petercorke.com
19+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
3920

4021
function J = visjac_p_polar(cam, rt, Z)
4122

toolbox/@SphericalCamera/SphericalCamera.m

+1-21
Original file line numberDiff line numberDiff line change
@@ -40,27 +40,7 @@
4040
%
4141
% See also Camera.
4242

43-
44-
45-
46-
% Copyright (C) 1993-2017, by Peter I. Corke
47-
%
48-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
49-
%
50-
% MVTB is free software: you can redistribute it and/or modify
51-
% it under the terms of the GNU Lesser General Public License as published by
52-
% the Free Software Foundation, either version 3 of the License, or
53-
% (at your option) any later version.
54-
%
55-
% MVTB is distributed in the hope that it will be useful,
56-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
57-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
58-
% GNU Lesser General Public License for more details.
59-
%
60-
% You should have received a copy of the GNU Leser General Public License
61-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
62-
%
63-
% http://www.petercorke.com
43+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
6444

6545
classdef SphericalCamera < Camera
6646

toolbox/@SphericalCamera/plot_camera.m

+2-18
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,8 @@
1919
% TODO
2020
% - proper animation, keep handles within the camera object
2121

22-
% Copyright (C) 1993-2017, by Peter I. Corke
23-
%
24-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
25-
%
26-
% MVTB is free software: you can redistribute it and/or modify
27-
% it under the terms of the GNU Lesser General Public License as published by
28-
% the Free Software Foundation, either version 3 of the License, or
29-
% (at your option) any later version.
30-
%
31-
% MVTB is distributed in the hope that it will be useful,
32-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
33-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
34-
% GNU Lesser General Public License for more details.
35-
%
36-
% You should have received a copy of the GNU Leser General Public License
37-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
38-
%
39-
% http://www.petercorke.com
22+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
23+
4024
function plot_camera(cam, varargin)
4125

4226

toolbox/@SphericalCamera/scamera.m

+1-19
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
1+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
12

2-
3-
% Copyright (C) 1993-2017, by Peter I. Corke
4-
%
5-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
6-
%
7-
% MVTB is free software: you can redistribute it and/or modify
8-
% it under the terms of the GNU Lesser General Public License as published by
9-
% the Free Software Foundation, either version 3 of the License, or
10-
% (at your option) any later version.
11-
%
12-
% MVTB is distributed in the hope that it will be useful,
13-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
% GNU Lesser General Public License for more details.
16-
%
17-
% You should have received a copy of the GNU Leser General Public License
18-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
19-
%
20-
% http://www.petercorke.com
213
classdef scamera
224
properties
235
name

toolbox/@SphericalCamera/showpose.m

+1-18
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,6 @@
11

2+
% Copyright 2022-2023 Peter Corke, Witold Jachimczyk, Remo Pillat
23

3-
% Copyright (C) 1993-2017, by Peter I. Corke
4-
%
5-
% This file is part of The Machine Vision Toolbox for Matlab (MVTB).
6-
%
7-
% MVTB is free software: you can redistribute it and/or modify
8-
% it under the terms of the GNU Lesser General Public License as published by
9-
% the Free Software Foundation, either version 3 of the License, or
10-
% (at your option) any later version.
11-
%
12-
% MVTB is distributed in the hope that it will be useful,
13-
% but WITHOUT ANY WARRANTY; without even the implied warranty of
14-
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15-
% GNU Lesser General Public License for more details.
16-
%
17-
% You should have received a copy of the GNU Leser General Public License
18-
% along with MVTB. If not, see <http://www.gnu.org/licenses/>.
19-
%
20-
% http://www.petercorke.com
214
function showcam(c, T, P)
225

236
if nargin < 2

0 commit comments

Comments
 (0)