With 'bit_depth'"bit_depth""bit_depth""bit_depth""bit_depth""bit_depth" the accuracy of the classification, the
required storage, and the runtime needed to create
the LUT can be controlled.
Number of bits used from the pixels. It controls the storage requirement
of the LUT classifier and is bounded by the bit depth of the image
('bit_depth'"bit_depth""bit_depth""bit_depth""bit_depth""bit_depth" <= 8). If the bit depth of the
LUT is smaller ('bit_depth'"bit_depth""bit_depth""bit_depth""bit_depth""bit_depth" < 8), the classes
of multiple pixel combinations will be mapped to the same LUT entry,
which can result in a lower accuracy for the classification. One of these
clusters contains
pixel combinations,
where NumDimNumDimNumDimNumDimnumDimnum_dim denotes the dimension of the LUT, which is
specified in create_class_knncreate_class_knnCreateClassKnnCreateClassKnnCreateClassKnncreate_class_knn。For example,
for 'bit_depth'"bit_depth""bit_depth""bit_depth""bit_depth""bit_depth" = 7,
NumDimNumDimNumDimNumDimnumDimnum_dim = 3, the classes of 8 pixel
combinations are mapped in the same LUT entry. The LUT requires at most
bytes of storage.
For example, for NumDimNumDimNumDimNumDimnumDimnum_dim = 3,
'bit_depth'"bit_depth""bit_depth""bit_depth""bit_depth""bit_depth" = 8 and number of classes is smaller than
16, the LUT requires 8 MB of storage
with internal storage optimization.
The runtime for the classification in classify_image_class_lutclassify_image_class_lutClassifyImageClassLutClassifyImageClassLutClassifyImageClassLutclassify_image_class_lut
becomes minimal if the LUT fits into the cache.
Threshold for the rejection of uncertain classified points of the k-NN.
The parameter represents a threshold on the distance
returned by the classification (see classify_class_knnclassify_class_knnClassifyClassKnnClassifyClassKnnClassifyClassKnnclassify_class_knn).
All pixels having a distance over
'rejection_threshold'"rejection_threshold""rejection_threshold""rejection_threshold""rejection_threshold""rejection_threshold" are not assigned to any class.