<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Thomas,<br><br>I tested the nonzero part of your mail. nonzero(r,g,b) = 1; returns the falsecolor image on the workingplane and nonzero(r,g,b) = 0; returns the image 3 on http://perhaugaard.blogspot.com/. <br><br>The error is elsewhere or?<br><br><br>/Per<br><br><br><br>--- Den <b>tirs 12/1/10 skrev Thomas Bleicher <i><tbleicher@googlemail.com></i></b>:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>Fra: Thomas Bleicher <tbleicher@googlemail.com><br>Emne: Re: [Radiance-general] Removing black areas in imagemapping<br>Til: perhaugaard@yahoo.dk, "Radiance general discussion" <radiance-general@radiance-online.org><br>Dato: tirsdag 12. januar 2010 11.55<br><br><div id="yiv1200585499">Per.<br><br>I still think that your problem is the value at which<br>mixfunc decides if the value from
the fc image should<br>be used or not (based on your non-zero function).<br><br>You can try and replace the function once with<br>
<br>nonzero(r,g,b) = 1<br><br>and then with <br><br>nonzero(r,g,b) = 0<br><br>In the first case you should get the whole surface<br>in black (because every pixel is used), in the second<br>you should see nothing at all. (Mind you, I haven't<br>
tested these functions; I only assume they work!)<br><br>Also use phisto on your falsecolor image to see the<br>actual values of the black pixels. It looks like there<br>is a range of "dark grey" instead of black. If you convert<br>
your image to tiff or ppm, edit the grey values to black<br>in Photoshop and convert it back you might have a<br>better result already. I'm sure there is also a way to<br>do this with Radiance tools but I don't have one ready.<br>
<br><div class="gmail_quote">On Tue, Jan 12, 2010 at 9:09 AM, Per Haugaard <span dir="ltr"><<a rel="nofollow" ymailto="mailto:perhaugaard@yahoo.dk" target="_blank" href="/mc/compose?to=perhaugaard@yahoo.dk">perhaugaard@yahoo.dk</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit;" valign="top">
<div><div><div>I have not been working with HDR images. Maybe you can update on how to easily convert from pic-files to hdr-files in Linux, so I can upload these for illustration
purposes.<br><br></div></div></div></td></tr></tbody></table></blockquote><div><br>*.pic files are *.hdr images. The extension is just a<br>convention and since the world has adopted *.hdr for<br>this type of images the Radiance community is moving<br>
to this extension, too.<br><br>Regards,<br>Thomas<br></div></div><br>
</div></blockquote></td></tr></table><br>
<hr size=1><br><table><tr><td> Få en billig laptop. Se Kelkoos gode tilbud <a href=http://dk.yahoo.com/r/pat/mm>her</a>!</td></tr></table>