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 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
azizullah khan
2014-1-31
x=imread('passportsizeimage');
[cA,cH,cV,cD] = dwt2(uint8(k),'db5');
figure('name','DWT')
imshow(cA,[0 255]),title('shows CA ')
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Signal Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!