RGB to night vision
16 views (last 30 days)
Show older comments
How to create night vision image using MATLAB ....didn't recognize the formula... some one explain to me
5 Comments
Walter Roberson
on 23 Jul 2020
Do not completely change existing questions; start new questions instead.
Accepted Answer
Walter Roberson
on 23 Jul 2020
RGB = imread('baby.jpg');
RGBd = im2double(RGB);
G = RGBd(:,:,2);
OutputR = G/2;
OutputB = 2 * OutputR;
OutputG = 2 * OutputB;
Nightvision = im2uint8( cat(3, OutputR, OutputG, OutputB) );
montage({RGB, Nightvision})
1 Comment
Walter Roberson
on 23 Jul 2020
That is a different Question that has nothing to do with nightvision .
More Answers (0)
See Also
Categories
Find more on Convert Image Type in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!