[81c116]: / script_to_process_frames.m

Download this file

18 lines (14 with data), 721 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
% Check if the Slider is updated. If yes,
% Run the area opening operation and edge detection on all the frames.
% This May take time and hence, use the
% [Current_Threshold and Previous_Threshold] variables
% to monitor for change
% Update the Message Bar
handles.Message_Bar.String = 'Processing all Frames. Please WAIT !!';
% Change the mouse pointer to a watch to show that we are processing
set(handles.figure1, 'pointer', 'watch')
drawnow;
%Estimate the diameter from all frames
handles.Diameter_data = complete_processing_frames(handles.Processed_Input, handles.Current_Threshold, handles);
% Change the mouse pointer to an arrow to show completion
set(handles.figure1, 'pointer', 'arrow');