forked from Coastal-Imaging-Research-Network/PIXel-Toolbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PIXDeBayerStack.m
65 lines (53 loc) · 2.03 KB
/
PIXDeBayerStack.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
function val = PIXDeBayerStack()
% helper function, returns 8, which is flag to indicate debayer on the
% fly for stacks.
%
% NOTICE: This flag applies to ALL the pixels created by the
% PIXScheduleColletIII call. It does nothing to the pixel values, but it
% does create a warning file reporting that the user has set this flag.
% That is because the action of this flag is entirely within the
% ArgusIII collection program.
%
% It has no effect for non-ArgusIII systems, and no effect for systems
% without Bayer encoded raw data collection.
%
% PLEASE remind the person setting up the collection on the remote Argus
% station that you want this option, since he may forget to look for the
% warning file and space out totally.
disp('NOTE: DeBayer stack applies to all pixels in this collection!');
val = 8;
%
%
% $Id: PIXDeBayerStack.m 21 2016-02-11 22:21:37Z $
%
% $Log: PIXDeBayerStack.m,v $
% Revision 1.3 2008/04/17 21:10:50 stanley
% added help warnings
%
% Revision 1.2 2008/04/17 20:32:13 stanley
% added warning message
%
% Revision 1.1 2008/04/17 20:31:12 stanley
% Initial revision
%
%
%key pixel pixelDesign
%comment helper function, returns 8, flag to indicate debayer stack
%
%
% Copyright (C) 2017 Coastal Imaging Research Network
% and Oregon State University
% This program is free software: you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation, version 3 of the
% License.
% This program is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
% You should have received a copy of the GNU General Public License
% along with this program. If not, see
% <http://www.gnu.org/licenses/>.
% CIRN: https://coastal-imaging-research-network.github.io/
% CIL: http://cil-www.coas.oregonstate.edu
%