com.supermap.mapping
Class ImageStretchOption
- java.lang.Object
-
- com.supermap.mapping.ImageStretchOption
-
public class ImageStretchOption extends java.lang.Object
Image stretching class, used to set the image layer stretching method and tensile parameters; such as standard deviation stretch, Gauss stretch and so on.
-
-
Constructor Summary
Constructors Constructor and Description ImageStretchOption()
Construct a new image stretch classImageStretchOption(ImageStretchOption imageStretchOption)
According to the development of the image stretching object to construct a new image with its consistent image stretching.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description double
getGaussianStretchRatioFactor()
Gaussian Tensile Coefficient (Tensile Ratio)double
getStandardDeviationStretchFactor()
Obtain the standard deviation of the tensile coefficientjava.util.ArrayList<java.util.ArrayList<java.lang.Integer>>
getStandardHistograms()
Gets the standard histogram entered when performing histogram matching, that is, the histogram as a reference.ImageStretchType
getStretchType()
Get the image stretch typeboolean
isGaussianStretchMiddleFactor()
Whether or not the intermediate value is used for Gaussian stretching.void
setGaussianStretchMiddleFactor(boolean value)
Sets whether or not to use intermediate values when setting up Gaussian stretching.void
setGaussianStretchRatioFactor(double value)
Set Gaussian Tensile Factor (Tensile Ratio)void
setStandardDeviationStretchFactor(double value)
Set the standard deviation stretch factorvoid
setStandardHistograms(java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> value)
Sets the standard histogram entered when a histogram match is made, that is, a histogram as a reference.void
setStretchType(ImageStretchType stretchType)
Set the image stretch type
-
-
-
Constructor Detail
-
ImageStretchOption
public ImageStretchOption()
Construct a new image stretch class
-
ImageStretchOption
public ImageStretchOption(ImageStretchOption imageStretchOption)
According to the development of the image stretching object to construct a new image with its consistent image stretching.- Parameters:
imageStretchOption
- Specify the image to stretch the object
-
-
Method Detail
-
getStretchType
public ImageStretchType getStretchType()
Get the image stretch type- Returns:
- Returns the image stretch type
-
setStretchType
public void setStretchType(ImageStretchType stretchType)
Set the image stretch type- Parameters:
stretchType
- Image Stretch Type
-
getStandardDeviationStretchFactor
public double getStandardDeviationStretchFactor()
Obtain the standard deviation of the tensile coefficient- Returns:
- Standard deviation tensile coefficient
-
setStandardDeviationStretchFactor
public void setStandardDeviationStretchFactor(double value)
Set the standard deviation stretch factor- Parameters:
value
- Quasi - differential tensile coefficient
-
setGaussianStretchRatioFactor
public void setGaussianStretchRatioFactor(double value)
Set Gaussian Tensile Factor (Tensile Ratio)- Parameters:
value
- Gaussian tensile coefficient
-
setGaussianStretchMiddleFactor
public void setGaussianStretchMiddleFactor(boolean value)
Sets whether or not to use intermediate values when setting up Gaussian stretching.- Parameters:
value
- true Indicates that the intermediate value is used; false means that the intermediate value is not used, but the average is used.
-
getGaussianStretchRatioFactor
public double getGaussianStretchRatioFactor()
Gaussian Tensile Coefficient (Tensile Ratio)- Returns:
- Gaussian tensile coefficient
-
isGaussianStretchMiddleFactor
public boolean isGaussianStretchMiddleFactor()
Whether or not the intermediate value is used for Gaussian stretching.- Returns:
- true Indicates that the intermediate value is used; false means that the intermediate value is not used, but the average is used.
-
getStandardHistograms
public java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> getStandardHistograms()
Gets the standard histogram entered when performing histogram matching, that is, the histogram as a reference.- Returns:
- Returns the standard histogram information, that is, the information of the histogram as a reference.
-
setStandardHistograms
public void setStandardHistograms(java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> value)
Sets the standard histogram entered when a histogram match is made, that is, a histogram as a reference.- Parameters:
value
- Standard histogram information, that is, information as a reference histogram.
-
-