Class ColorImageComparator.ForegroundColorMap

    • Constructor Summary

      Constructors 
      Constructor Description
      ForegroundColorMap​(int foreground)
      Constructs a ColorImageComparator$ForegroundColorMap object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int mapColor​(int rgb)
      Maps one color into another.
      • Methods inherited from class java.lang.Object

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

      • ForegroundColorMap

        public ForegroundColorMap​(int foreground)
        Constructs a ColorImageComparator$ForegroundColorMap object.
        Parameters:
        foreground - Foreground color.