Filter löschen
Filter löschen

Restore orignal colors to the processed image

1 Ansicht (letzte 30 Tage)
waqas pervaiz
waqas pervaiz am 22 Mai 2013
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....??

Antworten (1)

David Sanchez
David Sanchez am 22 Mai 2013
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 Kommentar
waqas pervaiz
waqas pervaiz am 22 Mai 2013
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 ?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by