<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks again, <br>
      <br>
      Bug reported @ <a class="moz-txt-link-freetext" href="http://bugzilla.scilab.org/15059">http://bugzilla.scilab.org/15059</a><br>
      <br>
      rgds,<br>
      Chin Luh<br>
      <br>
      On 12/3/2017 7:10 PM, Samuel Gougeon wrote:<br>
    </div>
    <blockquote cite="mid:284ad248-688d-3620-22d2-de5be5889be3@free.fr"
      type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 12/03/2017 à 07:21, Tan Chin Luh a
        écrit :<br>
      </div>
      <blockquote
        cite="mid:7dfe408d-ed36-7dc9-9235-3841b7d8f4b2@tritytech.com"
        type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Thanks Samuel,<br>
          <br>
          Before I make the report, just to clarify one more point. <br>
          <br>
          The data extracted suppose to show white color plot, however:
          <br>
          <tt><br>
            <br>
            a = uint8(zeros(480,640,3));<br>
            a(:,:,1) = uint8(255);<br>
            a(:,:,2) = uint8(180);<br>
            a(:,:,3) = uint8(60);<br>
            Matplot(a);<br>
            <b>// View the image first before running following lines,
              this will show orange color</b><br>
            e = gce();<br>
            e.data = a;</tt><br>
          <b><tt><tt>// </tt></tt></b><tt><tt><tt><b>this will show 3
                  columns of image, left -> white, middle -> gray,
                  right -> black</b><br>
              </tt></tt>b = e.data;<br>
            and(b==255)</tt><br>
          <b><tt><tt><tt>// </tt></tt><tt><tt><tt>this will show white
                    image</tt></tt></tt></tt></b><tt><br>
            Matplot(b);<br>
          </tt></div>
      </blockquote>
      <br>
      <tt>Yes, you are right: there are 2 sides of this bug<br>
      </tt>
      <ul>
        <li><tt>the 3 layers are partially taken into account to render
            the area, but are likely badly sampled. It looks quite
            similar to the bug <a moz-do-not-send="true"
              class="moz-txt-link-freetext"
              href="http://bugzilla.scilab.org/14886">http://bugzilla.scilab.org/14886</a></tt></li>
        <li><tt>only the first layer is assigned to .data, and they are
            no longer data corresponding to the rendering.<br>
          </tt></li>
      </ul>
      All 6.0.0 bugs about Matplot and Matplot1 somewhat hinder image
      rendering so image processing applications, that are the most
      downloaded. IMO, because they have regressed and they are very
      used, curing them should be of high priority.<br>
      <br>
      Regards<br>
      Samuel<br>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>