Class FaceImagesUtils


  • public class FaceImagesUtils
    extends java.lang.Object
    Utility class for creating FaceImages instances.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull FaceImages newEmptyFaceImages()
      Creates a new FaceImages instance consisting of empty images.
      static @NotNull FaceImages newFaceImages​(@NotNull javax.swing.ImageIcon originalImageIcon)
      Creates a new FaceImages instance from an "original" face; the "scaled" and "magic map" sized images are calculated.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • newFaceImages

        @NotNull
        public static @NotNull FaceImages newFaceImages​(@NotNull
                                                        @NotNull javax.swing.ImageIcon originalImageIcon)
        Creates a new FaceImages instance from an "original" face; the "scaled" and "magic map" sized images are calculated.
        Parameters:
        originalImageIcon - the original face
        Returns:
        the face images instance
      • newEmptyFaceImages

        @NotNull
        public static @NotNull FaceImages newEmptyFaceImages()
        Creates a new FaceImages instance consisting of empty images.
        Returns:
        the face images instance