clarified spec

This commit is contained in:
Davis King 2013-09-21 15:04:28 -04:00
parent fdd035f451
commit 9dd7488b5b

View File

@ -80,7 +80,12 @@ namespace dlib
- The basic segmentation is performed kvals.size() times, each time with the k - The basic segmentation is performed kvals.size() times, each time with the k
parameter (see segment_image() and the Felzenszwalb paper for details on k) parameter (see segment_image() and the Felzenszwalb paper for details on k)
set to a different value from kvals. set to a different value from kvals.
- All the rectangles output by this function will have an area >= min_size. - When doing the basic segmentations prior to any box merging, we discard all
rectangles that have an area < min_size. Therefore, all outputs and
subsequent merged rectangles are built out of rectangles that contain at
least min_size pixels. Note that setting min_size to a smaller value than
you might otherwise be interested in using can be useful since it allows a
larger number of possible merged boxes to be created.
- There are max_merging_iterations rounds of neighboring blob merging. - There are max_merging_iterations rounds of neighboring blob merging.
Therefore, this parameter has some effect on the number of output rectangles Therefore, this parameter has some effect on the number of output rectangles
you get, with larger values of the parameter giving more output rectangles. you get, with larger values of the parameter giving more output rectangles.