How to convert 3D rgb image taken with ir filter removed webcam to 4D NIR image

2 vues (au cours des 30 derniers jours)
Uimin Lee
Uimin Lee le 7 Juil 2022
Réponse apportée : Binaya le 28 Sep 2023
I took the picture after removing the ir filter on the webcam.
The photo has a three-dimensional rgb format. My qustion is how to convert it to a four-dimensional format to check whether the image contains information of the nir spectrum.

Réponses (1)

Binaya
Binaya le 28 Sep 2023
Hi Uimin,
The cameras after removing the IR filter can capture the NIR spectrum of visible light. The cameras do not record each individual frequency but record the intensity of these frequencies as a component of RGB. So, the NIR portion of the image adds more intensity towards the R component of the image. This task is possible by extracting only the R component from the image and by adjusting brightness, contrast and applying different filters.
For more information please also refer to answers provided in the following MATLAB Answers post:how to extract Near-IR (NIR) from an RGB image
I hope this helps.
Regards
Binaya

Catégories

En savoir plus sur Convert Image Type dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by