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

2 visualizzazioni (ultimi 30 giorni)
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.

Risposte (1)

Binaya
Binaya il 28 Set 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

Categorie

Scopri di più su Convert Image Type in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by