Restore orignal colors to the processed image
2 次查看(过去 30 天)
显示 更早的评论
hi, i have a human image...in order to extract face from the image i have to convert it to gray image... my question is, after completing my processing that is to extract face....how can i convert the output image back to its original colors....??
0 个评论
回答(1 个)
David Sanchez
2013-5-22
you can't. With every process of your image you loose information. When you grayscale (1D matrix) an colour image (3D matrix), you are loosing colour information.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!