Package qupath.opencv.tools
Class LocalNormalization.LocalNormalizationType
java.lang.Object
qupath.opencv.tools.LocalNormalization.LocalNormalizationType
- Enclosing class:
LocalNormalization
Helper class to store local normalization parameters.
-
Field Summary
Modifier and TypeFieldDescriptionSmoothing scale for Gaussian subtraction.Smoothing scale for Gaussian-weighted standard deviation estimate. -
Method Summary
Modifier and TypeMethodDescriptiongetInstance
(LocalNormalization.SmoothingScale scale, double varianceScaleRatio) Get an object containing the parameters necessary for normalization.getInstance
(LocalNormalization.SmoothingScale scale, LocalNormalization.SmoothingScale scaleVariance) Get an object containing the parameters necessary for normalization.
-
Field Details
-
scale
Smoothing scale for Gaussian subtraction. -
scaleVariance
Smoothing scale for Gaussian-weighted standard deviation estimate.
-
-
Method Details
-
getInstance
public static LocalNormalization.LocalNormalizationType getInstance(LocalNormalization.SmoothingScale scale, LocalNormalization.SmoothingScale scaleVariance) Get an object containing the parameters necessary for normalization.- Parameters:
scale
- Gaussian sigma value used for initial filters (mean subtraction)scaleVariance
- sigma value used for variance estimation (may be null to apply subtraction only)- Returns:
-
getInstance
public static LocalNormalization.LocalNormalizationType getInstance(LocalNormalization.SmoothingScale scale, double varianceScaleRatio) Get an object containing the parameters necessary for normalization.- Parameters:
scale
- Gaussian sigma value used for initial filters (mean subtraction)varianceScaleRatio
- multiplicative factor applied to scale to determine the variance estimation scale- Returns:
-