I have taken a passport photo(3.5cm*4.5cm) having resolution 300 pixels/cm.I have detected the face(as my region of interest) also, based on the skin color detection.Now i want to compress the face using lossless comp. tech &rest using lossy tech.
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I have taken a passport photo(3.5cm*4.5cm) having resolution 300 pixels/cm.I have detected the face(as my region of interest) also, based on the skin color detection.Now i want to compress the face using DWT in a lossless way and the remaining portion of the image with a lossy technique.Can anybody help me by providing the code or links for help.
Thanks in advance
0 Kommentare
Antworten (1)
azizullah khan
am 31 Jan. 2014
x=imread('passportsizeimage');
[cA,cH,cV,cD] = dwt2(uint8(k),'db5');
figure('name','DWT')
imshow(cA,[0 255]),title('shows CA ')
0 Kommentare
Siehe auch
Kategorien
Mehr zu Wavelet Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!