Class Preprocessing.PCAProjector

java.lang.Object
qupath.opencv.ml.objects.features.Preprocessing.PCAProjector
All Implemented Interfaces:
AutoCloseable
Enclosing class:
Preprocessing

public static class Preprocessing.PCAProjector extends Object implements AutoCloseable
Helper class to apply PCA projection.
  • Method Details

    • nComponents

      public int nComponents()
      Number of output components.
      Returns:
    • project

      public void project(Mat data, Mat result)
      Apply the projection.
      Parameters:
      data - input data
      result - output
    • close

      public void close() throws Exception
      Specified by:
      close in interface AutoCloseable
      Throws:
      Exception