Commit 6db9eb73 authored by Davis King's avatar Davis King

clarified spec

parent 3c04d06a
...@@ -178,7 +178,8 @@ namespace dlib ...@@ -178,7 +178,8 @@ namespace dlib
- #label_img[r][c] != 0 - #label_img[r][c] != 0
- if (img.size() != 0) then - if (img.size() != 0) then
- returns max(array_to_matrix(label_img))+1 - returns max(array_to_matrix(label_img))+1
(i.e. returns a number one greater than the maximum blob id number) (i.e. returns a number one greater than the maximum blob id number,
this is the number of blobs found.)
- else - else
- returns 0 - returns 0
- blob labels are contiguous, therefore, the number returned by this function is - blob labels are contiguous, therefore, the number returned by this function is
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment