Class QualityCheck

java.lang.Object
com.elpical.jclaro.admin.ws.server.QualityCheck

public class QualityCheck extends Object
Holds information about when to reject images based on quality values
  • Constructor Details

    • QualityCheck

      public QualityCheck()
      Empty constructor
    • QualityCheck

      public QualityCheck(HashMap<String,​String> theClaroChannelPreferences)
    • QualityCheck

      public QualityCheck(Preferences pref)
      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)