eu.id3.face

## Class PhotographicAttributes

- java.lang.Object
- - eu.id3.face.PhotographicAttributes

-     public class PhotographicAttributes
      extends java.lang.Object

  Represents the photographic attributes of a portrait image.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `int` | `equalBrightness` Value, from 0 to 100, indicating if one side of the face is ligther than the other side. 0 means that brightness is perfectly equal on both sides of the face.
    `int` | `faceDynamicRange` Value, from 0 to 255, indicating the dynamic range of the image in the face region.
    `int` | `flashReflection` Value, from 0 to 100, indicating if a flash reflection is present on the face. 100 means that there is no flash reflection.
    `int` | `naturalSkinColor` Value, from 0 to 100, indicating if the skin looks natural. 0 means that the face does not have a natural skin color at all.
    `int` | `overExposure` Value, from 0 to 100, indicating the ratio of face pixels that are over-exposed. 0 means that the face is not over-exposed at all.
    `int` | `pixelation` Value, from 0 to 100, indicating if the image is pixelized. 0 means that there is no pixelation at all.
    `int` | `sharpness` Value, from 0 to 100, indicating if the image sharpness is sufficient. 0 means that the image is not sharp at all.
    `int` | `underExposure` Value, from 0 to 100, indicating the ratio of face pixels that are under-exposed. 0 means that the face is not under-exposed at all.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `PhotographicAttributes()` Initializes an empty instance of the PhotographicAttributes class.
    `PhotographicAttributes(int equalBrightness, int faceDynamicRange, int flashReflection, int naturalSkinColor, int overExposure, int pixelation, int sharpness, int underExposure)` Initializes a new instance of the PhotographicAttributes class from its members.
    `PhotographicAttributes(PhotographicAttributes photographicAttributes)` Initializes a new instance of the PhotographicAttributes class by copying another PhotographicAttributes.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### equalBrightness

          public int equalBrightness

      Value, from 0 to 100, indicating if one side of the face is ligther than the other side. 0 means that brightness is perfectly equal on both sides of the face. Hint: The recommended value is over 90.

    - #### faceDynamicRange

          public int faceDynamicRange

      Value, from 0 to 255, indicating the dynamic range of the image in the face region. Hint: The recommended threshold is 110.

    - #### flashReflection

          public int flashReflection

      Value, from 0 to 100, indicating if a flash reflection is present on the face. 100 means that there is no flash reflection. Hint: The recommended threshold is 70.

    - #### naturalSkinColor

          public int naturalSkinColor

      Value, from 0 to 100, indicating if the skin looks natural. 0 means that the face does not have a natural skin color at all. Hint: The recommended threshold is over 5.

    - #### overExposure

          public int overExposure

      Value, from 0 to 100, indicating the ratio of face pixels that are over-exposed. 0 means that the face is not over-exposed at all. Hint: The recommended value is under 50.

    - #### pixelation

          public int pixelation

      Value, from 0 to 100, indicating if the image is pixelized. 0 means that there is no pixelation at all. Hint: The recommended value is under 50.

    - #### sharpness

          public int sharpness

      Value, from 0 to 100, indicating if the image sharpness is sufficient. 0 means that the image is not sharp at all. Hint: The recommended value is over 40.

    - #### underExposure

          public int underExposure

      Value, from 0 to 100, indicating the ratio of face pixels that are under-exposed. 0 means that the face is not under-exposed at all. Hint: The recommended value is under 50.

  - ### Constructor Detail

    - #### PhotographicAttributes

          public PhotographicAttributes()

      Initializes an empty instance of the PhotographicAttributes class.

    - #### PhotographicAttributes

          public PhotographicAttributes(int equalBrightness,
                                        int faceDynamicRange,
                                        int flashReflection,
                                        int naturalSkinColor,
                                        int overExposure,
                                        int pixelation,
                                        int sharpness,
                                        int underExposure)

      Initializes a new instance of the PhotographicAttributes class from its members.
      Parameters:
        `equalBrightness` - Value, from 0 to 100, indicating if one side of the face is ligther than the other side.
        `faceDynamicRange` - Value, from 0 to 255, indicating the dynamic range of the image in the face region.
        `flashReflection` - Value, from 0 to 100, indicating if a flash reflection is present on the face.
        `naturalSkinColor` - Value, from 0 to 100, indicating if the skin looks natural.
        `overExposure` - Value, from 0 to 100, indicating the ratio of face pixels that are over-exposed.
        `pixelation` - Value, from 0 to 100, indicating if the image is pixelized.
        `sharpness` - Value, from 0 to 100, indicating if the image sharpness is sufficient.
        `underExposure` - Value, from 0 to 100, indicating the ratio of face pixels that are under-exposed.

    - #### PhotographicAttributes

          public PhotographicAttributes(PhotographicAttributes photographicAttributes)

      Initializes a new instance of the PhotographicAttributes class by copying another PhotographicAttributes.
      Parameters:
        `photographicAttributes` - The PhotographicAttributes to copy.

  - ### Method Detail

    - #### equals

          public boolean equals(java.lang.Object obj)

      Overrides:
        `equals` in class `java.lang.Object`

Copyright © id3 Technologies. All rights reserved. eu.id3.face