Change the image shown after mask acquisition
authorLukáš Jiřiště <jiriste@icpf.cas.cz>
Tue, 20 Aug 2024 12:25:52 +0000 (14:25 +0200)
committerLukáš Jiřiště <jiriste@icpf.cas.cz>
Tue, 20 Aug 2024 12:25:52 +0000 (14:25 +0200)
It was meant to be this kind of image instead of the instensity plot in
the previous commit.

Bubliny.m

index 29a0460c80f80dd6c97a908257cb9fa11ea56247..22a243e440808a79100681971df24b9dd45d8b0f 100755 (executable)
--- a/Bubliny.m
+++ b/Bubliny.m
@@ -95,9 +95,9 @@ for iii=1:nSelectedDirectory  % Cycles for directories with files
        %}\r
 \r
        mask = get_mask(changefig, meanfig);\r
-       figure\r
-       plot(mean(double(meanfig), Weights = mask));\r
-       \r
+       figure();\r
+       imshow(meanfig .* uint8(mask));\r
+\r
        meter = get_meter(maxfig, mask);\r
 \r
        [~, calm_level] = min(mean(double(meanfig), Weights = mask));\r