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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
azizullah khan
el 31 de En. de 2014
x=imread('passportsizeimage');
[cA,cH,cV,cD] = dwt2(uint8(k),'db5');
figure('name','DWT')
imshow(cA,[0 255]),title('shows CA ')
0 comentarios
Ver también
Categorías
Más información sobre Signal Analysis en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!