<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 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>
</body>
</html>