Browse Source

업데이트 'step4_extract_image_statistics.m'

Hio-Been Han 3 years ago
parent
commit
d3e860a5b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      step4_extract_image_statistics.m

+ 1 - 1
step4_extract_image_statistics.m

@@ -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;