[Scilab-users] scilab and tif-files

P M p.muehlmann at gmail.com
Fri Jul 10 11:52:14 CEST 2020


Dear experts,

I do have a tif-file....in fact: lot's of them and of different size.

Pixel values are:
- red
- green
- white
- black

Now, I want to convert these files in Black/white images, such as:

- red pixels --> black
- green pixels --> white
- black pixels --> black
- white pixels --> black

in other words:    Only the green pixels are of interest.

Now, as I use IPCV:

- imread()...does not handle tif-files correctly
--> it does read the files, but the output is a boolean-matrix......that
doesn't help

- tifread()...does only handle images with size 1024x1024 ... doesn't help

Is there a way to read TIF-files into Scilab and keep the R-G-B-channels?


Thank you,
Philipp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200710/ec3f630e/attachment.htm>


More information about the users mailing list