Clear Filters
Clear Filters

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 view (last 30 days)
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

Answers (1)

azizullah khan
azizullah khan on 31 Jan 2014
x=imread('passportsizeimage');
[cA,cH,cV,cD] = dwt2(uint8(k),'db5');
figure('name','DWT')
imshow(cA,[0 255]),title('shows CA ')

Categories

Find more on Wavelet Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!