How to deal with multiple color channels? #11

Open
opened 2024-03-21 10:06:23 +01:00 by Benjamin_Loison · 2 comments

# What about other color channels?

help(PIL.Image.Image.getchannel)
help(PIL.Image.Image.split)
help(PIL.Image.Image.getbands)
https://gitea.lemnoslife.com/Benjamin_Loison/Robust_image_source_identification_on_modern_smartphones/src/commit/668057e261a530659a430220a59c2404a88dbfb1/algorithms/context-adaptive_interpolator.py#L6 ```py help(PIL.Image.Image.getchannel) ``` ```py help(PIL.Image.Image.split) ``` ```py help(PIL.Image.Image.getbands) ```
Benjamin_Loison added the
Context-Adaptive Interpolator
label 2024-03-21 10:08:01 +01:00
Benjamin_Loison added the
quick
label 2024-03-26 02:25:51 +01:00
Author
Owner

Maybe just consider like 3 different images, as I have done in the following issue for technical reasons:

-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAHfQY22zk3mugV0u5U8J+0t1+k8qw7FEvvvl5cxW01Fow
tyZzXe3MiFyej1hNDNC5Eg5XcA9xOyeu4xRBytoPncCNPGdbAdElQQxz9bUHgz6L
0pABZaACCnhskRAaewtfrS3UxCdfWSIGobFjZyoMk2cO/sj4GEyMOem+fpGSTGnc
VyioZl0gOtqVYO60Hsq2ofDCVMQOBoG/xMbBgiLALagtilvshCyYX87jKyAdU7Az
s0Xne7GlKvdcferZ/AfrCEGR/r0FGJy13jhI32GcDLvoCKIvaTUBaGeOcxA+yVwT
aKw=
=6mC0
-----END PGP MESSAGE-----

But here there is probably a link between these channels due to Bayer filters.

Maybe just consider like 3 different images, as I have done in the following issue for technical reasons: ``` -----BEGIN PGP MESSAGE----- hF4DTQa9Wom5MBgSAQdAHfQY22zk3mugV0u5U8J+0t1+k8qw7FEvvvl5cxW01Fow tyZzXe3MiFyej1hNDNC5Eg5XcA9xOyeu4xRBytoPncCNPGdbAdElQQxz9bUHgz6L 0pABZaACCnhskRAaewtfrS3UxCdfWSIGobFjZyoMk2cO/sj4GEyMOem+fpGSTGnc VyioZl0gOtqVYO60Hsq2ofDCVMQOBoG/xMbBgiLALagtilvshCyYX87jKyAdU7Az s0Xne7GlKvdcferZ/AfrCEGR/r0FGJy13jhI32GcDLvoCKIvaTUBaGeOcxA+yVwT aKw= =6mC0 -----END PGP MESSAGE----- ``` But here there is probably a link between these channels due to [Bayer filters](https://en.wikipedia.org/w/index.php?title=Bayer_filter&oldid=1189637393).
Author
Owner

Related to #49.

Related to #49.
Sign in to join this conversation.
No description provided.