<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">photoshop cs4 pro?<div>cool!<br><div><div>On 2 Jun 2009, at 20:15, Chris Cox wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div> <font face="Myriad Pro"><span style="font-size:10pt">Wouldn’t it be a little faster to just create a mask (selection is easiest in this case) in Photoshop and use the average filter?<br> <br> Chris<br> <br> <br> On 6/1/09 2:18 PM, "Giulio" &lt;<a href="geotrupes@mac.com">geotrupes@mac.com</a>> wrote:<br> <br> </span></font><blockquote><font face="Myriad Pro"><span style="font-size:10pt">low teck approach, just command line:<br> I would just generate a mask with photoshop, an image with just white <br> and black pixels, but in RGB.<br> convert it to tiff and then to pic &nbsp;&nbsp;&nbsp;(ra_tiff -r ).<br> use pcomb with image 1 and image 2 and write an expression that takes <br> value of pixels in your HDR only if they are inside of the mask, all <br> the others null (basically multiply image 1 by image 2, check that the <br> mask contains 0 and 1 only!).<br> use pvalue on the filtered image and convert to numbers<br> use total and get the sum of all data from filtered image, TL<br> count the white pixels in the mask (pvalue and total for example), TN<br> TL/TN = average luminance within the mask<br> ....<br> the whole thing can be written in a script.<br> and perhaps also put together with a nice sequence of pipes.<br> G<br> <br> <br> On 1 Jun 2009, at 21:29, Roberto Rodriguez wrote:<br> <br> > I´m a PhD student from Argentina, member of a research team <br> > advocated to<br> > the study of natural lighting. We are exploring the HRDI technique <br> > and we<br> > found a limitation while using hdrgen and ximage: Only squared <br> > shapes are<br> > avaiable to average Luminances, and we need to calculate the mean<br> > Luminances for radial shapes (circular, toroidal) in order to get the<br> > luminance contrast in the field of view.<br> ><br> > How can we overcome this? Can we "borrow" the source code of ximage <br> > so we<br> > can write a script acording to our needs?<br> > Thank you.<br> ><br> > --<br> > Dis. Ind. Roberto G. Rodriguez<br> > Laboratorio de Ambiente<br> > Humano y Vivienda-LAHV<br> > INCIHUSA-CRICYT-CONICET<br> > Av. Ruiz Leal s/n, Pque. Gral. San Martín<br> > (5500) Mendoza, Argentina<br> > Tel. 54-261-5244334<br> > Fax: 54-261-4287370<br> > <a href="rgrodriguez@mendoza-conicet.gov.ar">rgrodriguez@mendoza-conicet.gov.ar</a><br> > <a href="http:www.cricyt.edu.ar">http:www.cricyt.edu.ar</a><br> ><br> ><br> ><br> ><br> > --<br> > Dis. Ind. Roberto G. Rodriguez<br> > Laboratorio de Ambiente<br> > Humano y Vivienda-LAHV<br> > INCIHUSA-CRICYT-CONICET<br> > Av. Ruiz Leal s/n, Pque. Gral. San Martín<br> > (5500) Mendoza, Argentina<br> > Tel. 54-261-5244334<br> > Fax: 54-261-4287370<br> > <a href="rgrodriguez@mendoza-conicet.gov.ar">rgrodriguez@mendoza-conicet.gov.ar</a><br> > <a href="http:www.cricyt.edu.ar">http:www.cricyt.edu.ar</a><br> ><br> ><br> ><br> ><br> > _______________________________________________<br> > HDRI mailing list<br> > <a href="HDRI@radiance-online.org">HDRI@radiance-online.org</a><br> > <a href="http://www.radiance-online.org/mailman/listinfo/hdri">http://www.radiance-online.org/mailman/listinfo/hdri</a><br> <br> <br> _______________________________________________<br> HDRI mailing list<br> <a href="HDRI@radiance-online.org">HDRI@radiance-online.org</a><br> <a href="http://www.radiance-online.org/mailman/listinfo/hdri">http://www.radiance-online.org/mailman/listinfo/hdri</a><br> <br> </span></font></blockquote> </div>  _______________________________________________<br>HDRI mailing list<br><a href="mailto:HDRI@radiance-online.org">HDRI@radiance-online.org</a><br>http://www.radiance-online.org/mailman/listinfo/hdri<br></blockquote></div><br></div></body></html>