Class Preprocessing.PCAProjector
java.lang.Object
qupath.opencv.ml.objects.features.Preprocessing.PCAProjector
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
Preprocessing
Helper class to apply PCA projection.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
int
Number of output components.void
Apply the projection.
-
Method Details
-
nComponents
public int nComponents()Number of output components.- Returns:
-
project
Apply the projection.- Parameters:
data
- input dataresult
- output
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-