[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tiff function in Octave
From: |
Pantxo Diribarne |
Subject: |
Re: Tiff function in Octave |
Date: |
Wed, 24 Jun 2020 20:58:26 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 |
You would try to use the alpha channel to store your IR map, maybe this
would do the trick. Something like:
## Read images and cast them to uint8
rgb = im2uint8 (imread (image_file)); # N-by-M-by-3 uint8
ir = im2uint8 (imread (ir_file)); # N-by-M uint8
imwrite (rgb, composite_file, "alpha", ir)
Pantxo