Restore orignal colors to the processed image

조회 수: 2 (최근 30일)
waqas pervaiz
waqas pervaiz 2013년 5월 22일
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....??

답변 (1개)

David Sanchez
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.
  댓글 수: 1
waqas pervaiz
waqas pervaiz 2013년 5월 22일
is it possible that if i overlap the original (input) image and the output image..after comparing the pixels of output image get replaced by the original (input) image pixels.... just a thought i am not sure if this is possible or not ?

댓글을 달려면 로그인하십시오.

카테고리

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