|
@@ -61,10 +61,10 @@ for videoIdx = 1:length( video_names )
|
|
|
title( sprintf( '(3) Overlay #%04d', frameIdx ));
|
|
|
|
|
|
%% Extracting image statistics using regionprops
|
|
|
+ probability_threshold = 0.5; % Probability, anonymous unit (0-1)
|
|
|
mask_binary = mask > probability_threshold;
|
|
|
stats = regionprops( mask_binary', 'BoundingBox', 'Area', 'Centroid', 'Orientation' );
|
|
|
|
|
|
- probability_threshold = 0.5; % Probability, anonymous unit (0-1)
|
|
|
size_threshold = 100; % Pixel
|
|
|
drawing_regionprops = false;
|
|
|
|