Skip to content

Commit

Permalink
Documenting normalization feature
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarje committed Feb 15, 2020
1 parent 9f3896f commit 8277e24
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions source-code/mgmotionaverage.m
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
function ave = mgmotionaverage(varargin)
% function mgmotionaverage(varargin)
% create an image by calculating the average of the video frames
% if you want to compute average image on the color scale, make sure the
% input is a mg structure which contains the video information, for
% example, created by function mgread. Then set the mode like
% mg.video.mode.color = 'on';
% Create an average image by calculating the average of the video frames.
%
% syntax:
% mgmotionaverage(videofile,starttime,endtime);
Expand All @@ -14,6 +10,7 @@
%
% mgmotionaverage(videofile, ... , 'color', ...);
% mgmotionaverage(mg, ... , 'color', ...);
% mgmotionaverage(videofile, ... , 'normalize', ...);
%
% input:
% videofile or mg: input video file or data structure which contains video
Expand Down Expand Up @@ -68,7 +65,7 @@
cmd.endtime = varargin{argi+2};
end
end
elseif (strcmpi(varargin{argi},'Normalize'))
elseif (strcmpi(varargin{argi},'normalize'))
disp('normalization option is specified in argument');


Expand Down

0 comments on commit 8277e24

Please sign in to comment.