Skip to content

Commit 3be8175

Browse files
author
Usseglio-Viretta
committed
Segmentation module updated to v0.91
1 parent cf13dec commit 3be8175

File tree

3 files changed

+6605
-1
lines changed

3 files changed

+6605
-1
lines changed

src/Filtering_and_segmentation/Function_otsu_algorithm.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
%n_=length(unique_histogram);
1313
[n_,~] = size(histogram);
1414
for k=1:1:n_
15-
kk=histogram(k,1);
15+
kk=round(histogram(k,1));
1616
new_histogram(kk,2)=histogram(k,2);
1717
end
1818
histogram=new_histogram;
91.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)