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

1 次查看(过去 30 天)
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.

回答(1 个)

Binaya
Binaya 2023-9-28
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

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by