Class QualityCheck
java.lang.Object
com.elpical.jclaro.admin.ws.server.QualityCheck
Holds information about when to reject images based on quality values
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructorQualityCheck(HashMap<String,String> theClaroChannelPreferences)
QualityCheck(Preferences pref)
Reads settings from supplied Channel Preferences -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the strength of the rejection rules which applies to brightnessint
Returns the strength of the rejection rules which applies to color balanceint
Returns the strength of the rejection rules which applies to noiseint
Returns the rejection level on out-of-gammutfloat
Returns the quality level factor for resizingint
Returns the strength of the rejection rules which applies to sharpnessint
boolean
Whether to reject CMYK imagesboolean
Whether to reject image files without embedded ICC profileboolean
Whether to reject bad imagesboolean
Returns whether to reject images with red eyesvoid
save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
void
setBrightnessRulesStrength(int brightnessRulesStrength)
Sets the strength of the rejection rules which applies to brightnessvoid
setColorBalanceRulesStrength(int colorBalanceRulesStrength)
Sets the strength of the rejection rules which applies to color balancevoid
setNoiseRulesStrength(int noiseRulesStrength)
Sets the strength of the rejection rules which applies to noisevoid
setOutOfGamut(int outOfGamut)
Sets the rejection level on out-of-gammutvoid
setQualityFactorLimit(float qualityFactorLimit)
Sets the quality level factor for resizingvoid
setRejectImagesCMYK(boolean rejectImagesCMYK)
Set whether to reject CMYK imagesvoid
setRejectImagesNoEmbed(boolean rejectImagesNoEmbed)
Set whether to reject image files without embedded ICC profilevoid
setRejectImagesWith(boolean rejectImagesWith)
Set whether to reject bad imagesvoid
setRejectImagesWithRedEyes(boolean rejectImagesWithRedEyes)
Sets whether to reject images with red eyesvoid
setSharpnessRulesStrength(int sharpnessRulesStrength)
Sets the strength of the rejection rules which applies to sharpnessvoid
setVerboseInformation(int verboseInformation)
-
Constructor Details
-
QualityCheck
public QualityCheck()Empty constructor -
QualityCheck
-
QualityCheck
Reads settings from supplied Channel Preferences
-
-
Method Details
-
isRejectImagesWith
public boolean isRejectImagesWith()Whether to reject bad images- Returns:
- Whether to reject bad images
-
setRejectImagesWith
public void setRejectImagesWith(boolean rejectImagesWith)Set whether to reject bad images- Parameters:
rejectImagesWith
- Whether to reject bad images
-
isRejectImagesCMYK
public boolean isRejectImagesCMYK()Whether to reject CMYK images- Returns:
- Whether to reject CMYK images
-
setRejectImagesCMYK
public void setRejectImagesCMYK(boolean rejectImagesCMYK)Set whether to reject CMYK images- Parameters:
rejectImagesCMYK
- Whether to reject CMYK images
-
isRejectImagesNoEmbed
public boolean isRejectImagesNoEmbed()Whether to reject image files without embedded ICC profile- Returns:
- Whether to reject image files without embedded ICC profile
-
setRejectImagesNoEmbed
public void setRejectImagesNoEmbed(boolean rejectImagesNoEmbed)Set whether to reject image files without embedded ICC profile- Parameters:
rejectImagesNoEmbed
- Whether to reject image files without embedded ICC profile
-
getColorBalanceRulesStrength
public int getColorBalanceRulesStrength()Returns the strength of the rejection rules which applies to color balance- Returns:
- The strength of the rejection rules which applies to color balance
-
setColorBalanceRulesStrength
public void setColorBalanceRulesStrength(int colorBalanceRulesStrength)Sets the strength of the rejection rules which applies to color balance- Parameters:
colorBalanceRulesStrength
- The strength of the rejection rules which applies to color balance
-
getBrightnessRulesStrength
public int getBrightnessRulesStrength()Returns the strength of the rejection rules which applies to brightness- Returns:
- The strength of the rejection rules which applies to brightness
-
setBrightnessRulesStrength
public void setBrightnessRulesStrength(int brightnessRulesStrength)Sets the strength of the rejection rules which applies to brightness- Parameters:
brightnessRulesStrength
- The strength of the rejection rules which applies to brightness
-
getSharpnessRulesStrength
public int getSharpnessRulesStrength()Returns the strength of the rejection rules which applies to sharpness- Returns:
- The strength of the rejection rules which applies to sharpness
-
setSharpnessRulesStrength
public void setSharpnessRulesStrength(int sharpnessRulesStrength)Sets the strength of the rejection rules which applies to sharpness- Parameters:
sharpnessRulesStrength
- The strength of the rejection rules which applies to sharpness
-
getNoiseRulesStrength
public int getNoiseRulesStrength()Returns the strength of the rejection rules which applies to noise- Returns:
- The strength of the rejection rules which applies to noise
-
setNoiseRulesStrength
public void setNoiseRulesStrength(int noiseRulesStrength)Sets the strength of the rejection rules which applies to noise- Parameters:
noiseRulesStrength
- The strength of the rejection rules which applies to noise
-
getVerboseInformation
public int getVerboseInformation() -
setVerboseInformation
public void setVerboseInformation(int verboseInformation) -
getOutOfGamut
public int getOutOfGamut()Returns the rejection level on out-of-gammut- Returns:
- The rejection level on out-of-gammut
-
setOutOfGamut
public void setOutOfGamut(int outOfGamut)Sets the rejection level on out-of-gammut- Parameters:
outOfGamut
- The rejection level on out-of-gammut
-
getQualityFactorLimit
public float getQualityFactorLimit()Returns the quality level factor for resizing- Returns:
- The quality level factor for resizing
-
setQualityFactorLimit
public void setQualityFactorLimit(float qualityFactorLimit)Sets the quality level factor for resizing- Parameters:
qualityFactorLimit
- The quality level factor for resizing
-
isRejectImagesWithRedEyes
public boolean isRejectImagesWithRedEyes()Returns whether to reject images with red eyes- Returns:
- Whether to reject images with red eyes
-
setRejectImagesWithRedEyes
public void setRejectImagesWithRedEyes(boolean rejectImagesWithRedEyes)Sets whether to reject images with red eyes- Parameters:
rejectImagesWithRedEyes
- Whether to reject images with red eyes
-
save
public void save(com.elpical.jclaro.database.entities.ClaroChannel aClaroChannel)
-