<HTML>
<HEAD>
<TITLE>Re: [Radiance-general] Removing black areas in imagemapping</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi Per,<BR>
<BR>
Perhaps you are experiencing rounding error larger than FTINY. I’d suggest replacing FTINY with a larger value (ie 2e-3) and seeing if black spots reduce. A bit of trial and error might be necessary.<BR>
<BR>
If that doesn’t work can you send more scene info? I’d like to see your falsecolor statement, your colorpict and mixpict material definitions and perhaps you could post your contour image in hdr format.<BR>
<BR>
Best,<BR>
Andy<BR>
<BR>
<BR>
On 1/11/10 4:10 AM, "Per Haugaard" <perhaugaard@yahoo.dk> wrote:<BR>
<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Dear users,<BR>
<BR>
I am mapping a falsecolor image on a working in a room but there is still some black parts left in the image. I have FTINY as a guard against rounding errors but it does not remove everything.<BR>
<BR>
As written i Axel J. tutorial I have build a ..cal file with a nonzero function:<BR>
<BR>
nonzero(r,g,b) = if(max(r,max(g,b))-FTINY, 1, 0);<BR>
fc_u = -(Py-16.6)/12.8;<BR>
fc_v = (Px-0.2)/12.8;<BR>
<BR>
Any idea of how to remove the remaining black spots in the image?<BR>
<BR>
The images can be seen at:<BR>
<a href="http://perhaugaard.blogspot.com/2010/01/removing-black-parts-in-imagemapping-in.html">http://perhaugaard.blogspot.com/2010/01/removing-black-parts-in-imagemapping-in.html</a> <BR>
<BR>
<BR>
Happy new year<BR>
<BR>
/Per<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="1" WIDTH="100%"><BR>
Trænger du til at se det store billede? Kelkoo giver dig gode tilbud på LCD TV <a href="http://dk.yahoo.com/r/pat/lcd"><http://dk.yahoo.com/r/pat/lcd></a> ! <BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Radiance-general mailing list<BR>
Radiance-general@radiance-online.org<BR>
<a href="http://www.radiance-online.org/mailman/listinfo/radiance-general">http://www.radiance-online.org/mailman/listinfo/radiance-general</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE>
<pre>____________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses
</pre></BODY>
</HTML>