<div dir="ltr"><div>Dear experts,</div><div><br></div><div>I do have a tif-file....in fact: lot's of them and of different size.</div><div><br></div><div>Pixel values are:  <br></div><div>- red</div><div>- green</div><div>- white</div><div>- black</div><div><br></div><div>Now, I want to convert these files in Black/white images, such as:</div><div><br></div><div>- red pixels --> black</div><div>- green pixels --> white</div><div>- black pixels --> black</div><div>- white pixels --> black</div><div><br></div><div>in other words:    Only the green pixels are of interest.</div><div><br></div><div>Now, as I use IPCV:</div><div><br></div><div>- imread()...does not handle tif-files correctly</div><div></div><div>--> it does read the files, but the output is a boolean-matrix......that doesn't help</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?</div><div><br></div><div><br></div><div>Thank you,</div><div>Philipp<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>