<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>PS - sRGB.pf's being compared here are on Ubuntu, which has
      1.8.0.0_144 Oracle on it.<br>
    </p>
    Bill<br>
    <br>
    <div class="moz-cite-prefix">On 9/18/17 12:58 PM, Bill Ross wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1935fc1d-2036-2266-9381-2f2e94c12a3c@cgl.ucsf.edu">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      Thanks!<br>
      <br>
      > I expect the sRGB.pf one is the one that matters.<br>
      <br>
      Definitely a difference in that file (sizes):<br>
      <br>
      6876  /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/cmm/sRGB.pf<br>
      3144  /usr/lib/jvm/java-8-oracle/jre/lib/cmm/sRGB.pf<br>
      <br>
      Swapping cmm dirs leads to identical results.<br>
      <br>
      Is there any rationale documented/known for choosing one over the
      other?<br>
      <br>
      > Is that referring to 8u60 vs 8u131 ?<br>
      <br>
      That's what the version numbers seem to indicate.<br>
      <br>
      Bill<br>
      <br>
      <div class="moz-cite-prefix">On 9/18/17 9:15 AM, Phil Race wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:aebfbee4-4c29-7346-fafb-22d7aff36550@oracle.com">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        Hi,<br>
        <br>
        is there a question here ?<br>
        <br>
        > If this is the only diff<br>
        <br>
        Is that referring to 8u60 vs 8u131 ?<br>
        <br>
        FWIW I think the difference that matters is that OpenJDK has
        different colour profile files,<br>
        so even though they are processed by the same code the results
        may be different.<br>
        <br>
        I expect the sRGB.pf one is the one that matters.<br>
        <br>
        -phil.<br>
        <br>
        <div class="moz-cite-prefix">On 09/17/2017 03:08 PM, Bill Ross
          wrote:<br>
        </div>
        <blockquote type="cite"
          cite="mid:eacc4e82-82ec-d6cd-acdf-aeb72068ce2b@cgl.ucsf.edu">
          <meta http-equiv="Content-Type" content="text/html;
            charset=utf-8">
          <p>If this is the only diff between the Java's involved here,
            it is interesting that it is sufficient to switch photo pair
            distances from Group 2 to Group 3 in the interpretation of
            the histograms as coordinates in Poincare spherical space.<br>
          </p>
          > Bigger picture:    <a class="moz-txt-link-freetext"
            href="http://phobrain.com/pr/home/poincaredesc.html"
            moz-do-not-send="true">http://phobrain.com/pr/home/poincaredesc.html</a><br>
          <br>
          Bill<br>
          <br>
          <div class="moz-cite-prefix">On 9/17/17 2:59 PM, Bill Ross
            wrote:<br>
          </div>
          <blockquote type="cite"
            cite="mid:61064637-b8dd-5486-340c-f7512a7d181d@cgl.ucsf.edu">
            <meta http-equiv="Content-Type" content="text/html;
              charset=utf-8">
            <p>Sorry, where are my manners:</p>
            <p>Java(TM) SE Runtime Environment (build 1.8.0_60-b27)<br>
              Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed
              mode)</p>
            <p>openjdk version "1.8.0_131"<br>
              OpenJDK Runtime Environment (build
              1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)<br>
              OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)<br>
            </p>
            <p>Bill<br>
            </p>
            <br>
            <div class="moz-cite-prefix">On 9/17/17 2:55 PM, Bill Ross
              wrote:<br>
            </div>
            <blockquote type="cite"
              cite="mid:20c0af0f-b61b-7835-be43-66414d757f3e@cgl.ucsf.edu">
              <meta http-equiv="content-type" content="text/html;
                charset=utf-8">
                  <a class="moz-txt-link-freetext"
                href="http://phobrain.com/pr/home/gallery/img2112a.jpg"
                moz-do-not-send="true">http://phobrain.com/pr/home/gallery/img2112a.jpg</a>
              <p>Example RGB diff between OpenJDK and Oracle; <span
                  style="color: rgb(34, 34, 34); font-family: Arial,
                  Helvetica, sans-serif; font-size: 13px; font-style:
                  normal; font-variant-ligatures: normal;
                  font-variant-caps: normal; font-weight: normal;
                  letter-spacing: normal; orphans: 2; text-align: start;
                  text-indent: 0px; text-transform: none; white-space:
                  normal; widows: 2; word-spacing: 0px;
                  -webkit-text-stroke-width: 0px; background-color:
                  rgb(255, 255, 255); text-decoration-style: initial;
                  text-decoration-color: initial; display: inline
                  !important; float: none;">673/58903 pixels differ,
                  often by 1, but also like this:</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">43480c43480</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">< -9876933</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">---</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">> -9942469</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">43491c43491</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">< -9876931</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">---</span></p>
              <p style="margin: 1em 0px; padding: 0px; border: 0px;
                line-height: normal; color: rgb(34, 34, 34);
                font-family: Arial, Helvetica, sans-serif; font-size:
                13px; font-style: normal; font-variant-ligatures:
                normal; font-variant-caps: normal; font-weight: normal;
                letter-spacing: normal; orphans: 2; text-align: start;
                text-indent: 0px; text-transform: none; white-space:
                normal; widows: 2; word-spacing: 0px;
                -webkit-text-stroke-width: 0px; background-color:
                rgb(255, 255, 255); text-decoration-style: initial;
                text-decoration-color: initial;"><span style="margin:
                  0px; padding: 0px; border: 0px;">> -9942467</span></p>
              <p>--------<br>
              </p>
              <p>    BufferedImage buffered =
                ImageIO.read("img2112a.jpg");</p>
              <p>    try {<br>
                        PrintStream out = new PrintStream(new
                File("pixels_2112"));<br>
                        for (int i=0; i<buffered.getWidth(); i++) {<br>
                            for (int j=0; j<buffered.getHeight();
                j++) {<br>
                                out.println("" + buffered.getRGB(i, j));<br>
                            }</p>
              <p>        }<br>
                        out.close();<br>
                    } catch (Exception e) {<br>
                        e.printStackTrace();<br>
                    }<br>
              </p>
              <p>As discovered in BoofCV: <a
                  class="moz-txt-link-freetext"
                  href="https://groups.google.com/forum/#%21topic/boofcv/b40hIlt8Cz0"
                  moz-do-not-send="true">https://groups.google.com/forum/#!topic/boofcv/b40hIlt8Cz0</a></p>
              <p>Bigger picture:</p>
              <p>    <a class="moz-txt-link-freetext"
                  href="http://phobrain.com/pr/home/poincaredesc.html"
                  moz-do-not-send="true">http://phobrain.com/pr/home/poincaredesc.html</a></p>
              <p>Bill Ross<br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
              <p><br>
              </p>
            </blockquote>
            <br>
          </blockquote>
          <br>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>