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

2 visualizaciones (últimos 30 días)
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.

Respuestas (1)

Binaya
Binaya el 28 de Sept. de 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

Categorías

Más información sobre Convert Image Type en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by