change picture into grayscale and keep the luminace...same
Ältere Kommentare anzeigen
Hi guys.I have some color face pictures with white background.I want to convert them to grayscale,match them for luminance and contrast and bring them into an oval shape to remove hair, neck, and background information and then present on a light grey background.How can i do that? Thanks!
Akzeptierte Antwort
Weitere Antworten (1)
Youssef Khmou
am 23 Sep. 2013
Xu,
the only contribution i can made here is that , as you have N samples, you have to normalize them, i mean after converting to Grayscale, for every sample you need to perform :
% after converting to double
N=(X-mean(mean(X)))/std(std(X));
I think the oval shape is related to Logarithm operator.
1 Kommentar
Xu anbing
am 23 Sep. 2013
Bearbeitet: Randy Souza
am 24 Sep. 2013
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
