Class OpenCVClassifiers

java.lang.Object
qupath.opencv.ml.OpenCVClassifiers

public class OpenCVClassifiers extends Object
QuPath wrappers for OpenCV classifiers, which are instances of StatModel. There are two main reasons to use these wrappers rather than StatModel directly:
  1. Improved API consistency when exchanging between classifiers. For example, some require training data to be in a specified form (labels or one-hot encoding).
  2. Easier serialization to JSON along with other QuPath objects via GsonTools.
Author:
Pete Bankhead