Package qupath.opencv.tools
Class LocalNormalization.SmoothingScale
java.lang.Object
qupath.opencv.tools.LocalNormalization.SmoothingScale
- Enclosing class:
LocalNormalization
2D or 3D Gaussian scale. See
getSigmaZ(PixelCalibration)
for the key distinctions.-
Method Summary
Modifier and TypeMethodDescriptionboolean
get2D
(double sigma) Get a 2D Gaussian scale.get3DAnisotropic
(double sigma) Get a 3D anisotropic Gaussian scale.get3DIsotropic
(double sigma) Get a 3D isotropic Gaussian scale.double
getSigma()
Get the sigma value.double
Get the sigma value for the z dimension.int
hashCode()
toString()
-
Method Details
-
get2D
Get a 2D Gaussian scale.- Parameters:
sigma
- sigma value for x and y- Returns:
-
get3DAnisotropic
Get a 3D anisotropic Gaussian scale.- Parameters:
sigma
- sigma value for x, y and z- Returns:
-
get3DIsotropic
Get a 3D isotropic Gaussian scale.- Parameters:
sigma
- sigma value for x, y and z- Returns:
-
getSigma
public double getSigma()Get the sigma value.- Returns:
-
getSigmaZ
Get the sigma value for the z dimension. This is interpreted depending upon the scale type:- if 2D, the result is 0
- if 3D anisotropic, the result is equivalent to
getSigma()
- if 3D anisotropic, the result is equivalent to
getSigma()
scaled for isotropic according to the pixel calibration information
- Parameters:
cal
- pixel calibration; this is only relevant is the scale type is 3D isotropic.- Returns:
-
hashCode
public int hashCode() -
equals
-
toString
-