<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi Antoine, <br></div><div><br></div><div>Great to hear that your function works well so quite some case, if you don't mind, could I put into coming IPCV release?<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>rgds,<br></div><div>CL</div><br><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Tue, 14 Jul 2020 17:52:13 +0800 <b>P M <p.muehlmann@gmail.com></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div><div dir="ltr"><div>Hi Antoine,<br></div><div><br></div><div><br></div><div>This does help indeed...<br></div><div><br></div><div>with<span class="colour" style="color:rgb(0, 0, 0)"> tiff_get_image_prop() I get the correct RGB-image from the TIf-file.<br></span></div><div><br></div><div>Thank you very much. <br></div><div><br></div><div>Best Regards,<br></div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div><div><div><div><br></div></div></div><div><br></div></div><br><div class="x_-648127604gmail_quote"><div class="x_-648127604gmail_attr" dir="ltr">Am Mo., 13. Juli 2020 um 08:25 Uhr schrieb Antoine Monmayrant <<a target="_blank" href="mailto:antoine.monmayrant@laas.fr">antoine.monmayrant@laas.fr</a>>:<br></div><blockquote style="margin: 0.0px 0.0px 0.0px 0.8ex;border-left: 1.0px solid rgb(204,204,204);padding-left: 1.0ex;" class="x_-648127604gmail_quote"><div><p>Houps,<br></p><p>I mailed Philipp directly, so here is a copy of my answer and
available script to read a subset of TIFF.<br> It might be useful for some of you...<br> <br> Antoine<br></p><div><br><br>-------- Forwarded Message --------<table border="0" cellpadding="0" cellspacing="0"><tbody><tr><th>Subject:<br></th><td>Re: [Scilab-users] scilab and tif-files<br></td></tr><tr><th>Date:<br></th><td>Sun, 12 Jul 2020 20:39:20 +0200<br></td></tr><tr><th>From:<br></th><td>Antoine Monmayrant <a target="_blank" href="mailto:antoine.monmayrant@laas.fr"><antoine.monmayrant@laas.fr></a><br></td></tr><tr><th>To:<br></th><td>P M <a target="_blank" href="mailto:p.muehlmann@gmail.com"><p.muehlmann@gmail.com></a><br></td></tr></tbody></table><br><br><p>Hello Philipp,<br></p><p>I played a bit with tiff format a while ago (as none of the
image processing toolboxes could be installed on my work
computers).<br> The long story short: one of our microscope is storing data in a
format (*.ols) that is just tiff file with some metadata.<br> I hacked a bit of the tiff specification to only support the
subset of tiff used by this microscope.<br> So it might not be exactly what you need, it depends on the tiff
files you are using.<br> But maybe it can help you design your own homemade solution.</p><p>Cheers,<br></p><p>Antoine<br></p><div>On 10/07/2020 11:52, P M wrote:<br></div><blockquote><div dir="ltr"><div>Dear experts,<br></div><div><br></div><div>I do have a tif-file....in fact: lot's of them and of
different size.<br></div><div><br></div><div>Pixel values are: <br></div><div>- red<br></div><div>- green<br></div><div>- white<br></div><div>- black<br></div><div><br></div><div>Now, I want to convert these files in Black/white images,
such as:<br></div><div><br></div><div>- red pixels --> black<br></div><div>- green pixels --> white<br></div><div>- black pixels --> black<br></div><div>- white pixels --> black<br></div><div><br></div><div>in other words: Only the green pixels are of interest.<br></div><div><br></div><div>Now, as I use IPCV:<br></div><div><br></div><div>- imread()...does not handle tif-files correctly<br></div><div>--> it does read the files, but the output is a
boolean-matrix......that doesn't help<br></div><div><br></div><div>- tifread()...does only handle images with size 1024x1024
... doesn't help<br></div><div><br></div><div>Is there a way to read TIF-files into Scilab and keep the
R-G-B-channels?<br></div><div><br></div><div><br></div><div>Thank you,<br></div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><pre>_______________________________________________
users mailing list
<a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br></pre></blockquote></div></div>_______________________________________________<br> users mailing list<br> <a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br> <a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><br></blockquote></div>_______________________________________________<br>users mailing list <br><a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a> <br><a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a> <br></div></blockquote></div><div><br></div></div><br></body></html>