Package qupath.process.gui.commands.ml
Class ClassificationResolution
java.lang.Object
qupath.process.gui.commands.ml.ClassificationResolution
Wrapper for a 
PixelCalibration to be used to define classifier resolution.
 
 This makes it possible to provide a name and override toString() to return a 
 more readable representation of the resolution.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanstatic List<ClassificationResolution> getDefaultResolutions(ImageData<?> imageData, ClassificationResolution selected) Get a list of default resolutions to show, derived fromPixelCalibrationobjects.getName()Get the simple name for this resolution.Get thePixelCalibrationused to apply this resolution.inthashCode()toString()
- 
Method Details- 
getNameGet the simple name for this resolution.- Returns:
 
- 
getPixelCalibrationGet thePixelCalibrationused to apply this resolution.- Returns:
 
- 
toString
- 
hashCodepublic int hashCode()
- 
equals
- 
getDefaultResolutionspublic static List<ClassificationResolution> getDefaultResolutions(ImageData<?> imageData, ClassificationResolution selected) Get a list of default resolutions to show, derived fromPixelCalibrationobjects.- Parameters:
- imageData-
- selected-
- Returns:
 
 
-